Thanks for the suggestions on how to change my code to make the
workaround for subqueries.

I have another question.

$query = "SELECT story_id, story_name FROM tgs_story";

$result=mysql_query($query) or die("Unable to view data\n");

$story_name=$row['story_name'];
$story_id=$row['story_id'];

How would I put the results into a drop down list box on a form so
that, on the form, the user sees and selects a $story_name, but when
the data is actually posted, the corresponding $story_id is sent out?





Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list




SPONSORED LINKS
Php mysql Job postings


YAHOO! GROUPS LINKS




Reply via email to