Yes I see what I have done wrong. I named it music_artist instead of
nameing it music_artist.id
Sorry about that but thanks for the help. I think I'll need more help as
I'm still learning.
From: Christian Schneider <[EMAIL PROTECTED]>
To: Barry Rumsey <[EMAIL PROTECTED]>
Date: Thu, 18 Apr 2002 12:17:34 +0200
Subject: Re: [PHP-DB] drop list inserts
> Hi Barry,
> Barry Rumsey wrote:
> > $query_id = mysql_query("INSERT INTO music_album VALUES
> > (NULL, '$music_artist.id' ,'$album' ,NULL ,NULL)");
> > echo " $artist_name and $album has been added to the
> > Could someone please point out what I'm doing wrong?
> is the value of $music_artist.id correct? Also, your <select> has the
> name of "music_artist" and the value of the respective id, isn't that
> what you want?
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php