Solved

query problem

Posted on 2009-07-04
3
315 Views
Last Modified: 2012-05-07
$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
Comment
Question by:designersx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 75 total points
ID: 24777238
You have misspelled VARCHAR:

$sql = "create table idea(title varchar(255), content longtext)";
0
 
LVL 13

Assisted Solution

by:marchent
marchent earned 50 total points
ID: 24777242
you have a typo at "varchar"

create table idea(title varchar(255), content longtext);
0
 

Author Comment

by:designersx
ID: 24777264
thanks solved.,
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question