Re: insertion problem (2)
| From: | Nadim Attari | Date: | Thu, 10 Mar 2005 08:01:35 +0000 |
| Subject: | Re: insertion problem (2) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38848@lists.php.net to get a copy of this message | ||
> $uu=mysql_query("insert into voters2
('id','username','constnum','name','fname','gname','lname')values('$T10','$T
1','$T11','$T4,'$T5','$T6','$T7')");
$sql = "insert into voters2
(id,username,constnum,name,fname,gname,lname)values('$T10','$T1','$T11','$T4
,'$T5','$T6','$T7')";
$uu=mysql_query($sql);
> $uu2=mysql_query("insert into voters2
('sex','birth_day','email','password')
values('$D1','$T9','$T8','$T2')");
$sql = "insert into voters2 (sex,birth_day,email,password)
values('$D1','$T9','$T8','$T2')";
$uu2=mysql_query($sql);
Try this. Hope it gonna work.
And for the next time, when you ask a question, please include all of the
details which are relevant to your question.
Good things to mention in your post include:
a.. URL's
b.. Keywords
c.. A good description of the problem
d.. Troubleshooting steps you have already taken
Also, please give your question a relevant subject. "robots.txt syntax
question" is a good subject. "Please help" is not a good subject.
Regards,
Nadim Attari