Transaction in PHP Mysql

binäre optionen 60 sekunden strategie erfahrungen This is how easily you can implement tractions in mysqli and PHP. $link = mysqli_connect(‘localhost’,’root’,”,’test’); // Check connection if (mysqli_connect_errno()) { die(‘error’); } mysqli_autocommit($link, FALSE); //disable autocommit $query=”insert into tb1 (username,pwd) values(‘pp’,’sdsd’)”; $queryres=mysqli_query($link, $query); if(!$queryres) { echo “error first query”;…

click

http://kokiqq.net/?ruuw=binary-options-trading-signals-com-review&a73=86 Continue reading

Pagination in single Query

vivere con iq option Illaqueare scintillavamo http://nlst-usa.com/?trere=con-le-opzioni-binarie-con-deposito-di-50-euro-e-con-un-operazione-di-1-euro-quanto-si-puГѓВІ-guadagnare rugasti sbeccavate? What people normally do in the code? Example: //query to count total records $result = mysqli_query($conn,”SELECT COUNT(*) total FROM test”); //getting count if($result) { $totalRows=mysqli_num_rows($result); if($totalRows==1) { $resultData=mysqli_fetch_assoc($result); $total=$resultData[‘total’]; //total count in a variable } else{ echo “No rows found”;…

enter site Continue reading

Calling Ajax In WordPress

http://www.bgroads.com/?prosturadlo1=opzioni-digitali-bonus-senza-deposito-2017&c28=b3 Here is the code for calling ajax functions in WordPress. //javascript function function test() { var sitename = “http://localhost/test/”; //getdynamic var ajax_path = “/wp-admin/admin-ajax.php”; var name=$(‘#name’).val(); var cell=’9999999999′; $.ajax({ type : “POST”, async : false, url : sitename + ajax_path,…

go to link Continue reading

Page 7 of 7« First...34567