|
-
Jun 25th, 2002, 03:16 PM
#1
Thread Starter
Hyperactive Member
Updated or not Updated $Result=1 Why
in this code:
$Sql = "UPDATE Existent SET UserName='$UserName',Existent='$Existent' WHERE Existent<1000";
$Result = mysql_query($Sql);
echo $Result;
----------
I want to test if row is updated or not but when I echo $Result
if row is updated $Result=1 and If row is not updated $Result=1 also .. Why ?
How can I test if Row is updated or not ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|