Re: insertion problem (2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> $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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux