Re: drop list inserts

From: Date: Thu, 18 Apr 2002 19:58:37 +0000
Subject: Re: drop list inserts
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18659@lists.php.net to get a copy of this message
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. -----Original Message----- From: Christian Schneider <C.Schneider@Uni-Koeln.DE> To: Barry Rumsey <webmaster@musicinfo.ath.cx> 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? > > > Regards, > > Christian > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.db (#18659) next »