Advertisement
kemkriszt

php

Sep 17th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2.         $con = new PDO('mysql:host=mysql5.hostbase.net;dbname=artclubl_luminita','*','*');
  3.         $send = $con->prepare("UPDATE tablouri SET status='valabil',clientIP='-' WHERE status='in_cart'");
  4.         $send->execute();
  5.         if($send){
  6.             echo'succes';
  7.         }else{
  8.             echo'error';
  9.         }
  10. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement