Could anyone help me out here?
My update function here doesnt produce any error messages but there is no record updated.
$sql="UPDATE tutorials SET name='$name', question='$question', option1='$option1' WHERE id='$id'";
Could anyone out there look upon it and help me?
Thanks in advance.
Update function doesnt seem to work
Moderator: General Moderators
did you mysql_query($sql); ?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
update function
Ok i did mysql_query($sql); and also tried something new from the online tutorials...i
tried assigning the id to
$id = $_REQUEST['id'];
rather than $id=id..
before the
$sql="UPDATE tutorials SET name='$name', question='$question', option1='$option1'
WHERE id='$id'";
it seems to be working now..thanks again!
tried assigning the id to
$id = $_REQUEST['id'];
rather than $id=id..
before the
$sql="UPDATE tutorials SET name='$name', question='$question', option1='$option1'
WHERE id='$id'";
it seems to be working now..thanks again!