The following scrip is not updating the database:
<?php
// file: "root/reg/add/add_4.php", updated: 12/01/01
$connection=@mysql_connect("localhost","wagner","z") or
die ("No connection!");
$db=@mysql_select_db("sbwresearch",$connection) or die
("No database!");
$qry="update con_inf set
greeting='$greeting',
...
start_date='$start_date'
where username='$username'";
$result=@mysql_query($qry,$connection);
@mysql_free_result($result);
@mysql_close($connection);
header ("location:add_5.htm");
exit;
?>
Can some tell me why?
Thanks!
Anthony F. Rodriguez
([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]