Re: [PHP-DB] php/mySQL and html

2001-05-06 Thread Gyozo Papp
Hello Nick, > hi... > > I have a user registration system that I need to add a > "state" field to. Part of the form will look something > like this but with all 50 states instead of just two: > > > > AK > AL > > > > ...how do I insert the user's state into the database > and then how do I

Re: [PHP-DB] Mystery variable query?

2001-05-03 Thread Gyozo Papp
> I wish there were a php debugger. maybe, this would satisfy you: http://dd.cron.ru/dbg/home.php best regards, Papp Gyozo - [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP-DB] Excluding values of one array from another (sort of)

2001-05-03 Thread Gyozo Papp
Hi Howard, you 'd love the in_array() function (>= PHP4). So you should add an extra condition to your if statement: (see below in code) > [...] > reset ($alphalist); > reset ($exemptlist); > > while (list ($val) = each ($alphalist)) { > // pay attention! if ($currltr <> $val && !in

Re: [PHP-DB] linking images

2001-05-01 Thread Gyozo Papp
What field type do you use for stroing pictures? If not BLOB, you should try it. I haven't got a lot experience in it, but if you 'd like I 'll post some messages from the postgres mailing list to discover how it may be used. BLOBS are really useful , you can store some MBs in a field using BLOB