how to dump updated result?

admin

Administrator
Staff member
Hello

I have an UPDATE query which updates small database. I would like to dump the updated information to screen..

$result = mysql_query($sql, $databaselink)

$rows = mysql_num_rows($result);

I got "Warning: Supplied argument is not a valid MySQL result resource " warning..and empty 'row'

I do not want to list all the elements in database(in that case, I would built other query to list everything)..i just want to display details of the one which is just updated.

any help greatly appreciated.

thanks.
 
Back
Top