How to write a query for PHP and MySQL?

$query command syntax problem with php (MySQL)?

  • When I try to make a MySQL query string ("SELECT Name, Desc, Link FROM Site") I get this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Desc, Link FROM ,,Site' at line 1 I dont understand this at all as this line seems fine to me after checking. Is there a clear problem with the syntax of the line? I am using MySQL version 4.1.22-standard and php v. 5.2.4

  • Answer:

    Sorry im not being smart but none of that makes any sense to me.. What is an SQL version 4. 1. 22 standard php v. 5.2.4 .. A rocket ship or something.?

Tom at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.