We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

Article:
  Using MySQL from PHP
Subject:   escaping syntax for MySQL in PHP - need help
Date:   2005-07-06 02:19:04
From:   gluino
Response to: escaping syntax for MySQL in PHP - need help

ok this works:

echo "<option value=" . $row['coyid'] . ">" . $row['name'] . "</option>";