• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

query problem

$sql = "create table idea(title varhcar(255), content longtext)";
$qid=mysql_query($sql) or die("could not create".mysql_error());

there is a error in content longtext.
0
designersx
Asked:
designersx
2 Solutions
 
Roger BaklundCommented:
You have misspelled VARCHAR:

$sql = "create table idea(title varchar(255), content longtext)";
0
 
marchentCommented:
you have a typo at "varchar"

create table idea(title varchar(255), content longtext);
0
 
designersxAuthor Commented:
thanks solved.,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now