Syntax error using email as field

Links for php scripts

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 44
Joined: Tue May 28, 2013 10:04 pm
Location: India,Lucknow

Tue May 28, 2013 10:17 pm

Hi Jim

Your insert query looks bit fussier. Even i'm not able to find out syntax error.
you use this mysql query which is short and easy to use. You edit this query and modify it as you want

if(mysql_query("insert into f0001_name(mn,en,Title,Fullname,Fname,Lname,Mname,Oname) values ('"
.$_SESSION['mn']."','".$_SESSION['en']."','".$titel."','".$_POST['txtfullname']."','".$_POST['txtfirstname']."','".$_POST['txtlastname']."','".$_POST['txtmiddlename']."','".$_POST['txtothername']."')") or die("the eror ".mysql_error()))


Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests