Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $con = new PDO('mysql:host=mysql5.hostbase.net;dbname=artclubl_luminita','*','*');
- $send = $con->prepare("UPDATE tablouri SET status='valabil',clientIP='-' WHERE status='in_cart'");
- $send->execute();
- if($send){
- echo'succes';
- }else{
- echo'error';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement