MySQL comments

start of line left only (must have space after dashes):
— comment

OR
/* */

example:

if(!$result = mysql_query(”
SELECT
products_id,
FROM
runwayProductInfo,
WHERE
products_id IN (‘545′,’100’)
/* hello */
— comment
ORDER BY FIELD(runwayProductInfo.products_id, ‘100’,’545′)
“)){ echo mysql_error(); exit; }

Comments are closed.