On Wednesday 11 June 2003 13:31, Ben Houlton wrote:
> The bit of my code that I'm working on is here:
> if ($submit) {
>
> if ($id) {
>
> $sql = "UPDATE pages SET sub='$sub'
> msg='$msg',name='$name',email='$email',newday='$newday' WHERE id=$id";
>
> } else {
>
> $sql = "INSERT INTO pa
The bit of my code that I'm working on is here:
if ($submit) {
if ($id) {
$sql = "UPDATE pages SET sub='$sub'
msg='$msg',name='$name',email='$email',newday='$newday' WHERE id=$id";
} else {
$sql = "INSERT INTO pages (sub,msg,name,email,date,time,newday) VALUES
('$sub','$msg','$name
2 matches
Mail list logo