MySQL Forums
Forum List  »  MyISAM

i need help with this code
Posted by: Tarek Abo Asaly
Date: October 10, 2005 05:03PM

Hello i have this script working on old versions of MySQL but Not Working After line 81

can you please help me on this one ?

here is the code that is not executed with me .

// Delete User And Add It To Paid Table
$sql="select * from next where id='$id2'";
$res=mysql_query($sql) or die ("MySQL Problem : " . mysql_error());
$row=mysql_fetch_array($res) or die("MySQL Problem : " . mysql_error());
$user3=@$row[user];
$egold3=@$row[egold];
$spot3=@$row[spot];
$email3=@$row; $sqll="INSERT INTO `paid` VALUES ('' , '$user3' , '$egold3' , '$spot3' , '$email3')"; mysql_query($sqll) or die ("MySQL Problem : " . mysql_error()); $sql2="DELETE from `next` where id='$id2' limit 1"; mysql_query($sql2) or die ("MySQL Problem : " . mysql_error());

Options: ReplyQuote


Subject
Views
Written By
Posted
i need help with this code
2374
October 10, 2005 05:03PM
1777
October 17, 2005 01:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.