[PHP] MySQL select a field's first X bytes

2002-12-16 Thread Micah Bushouse
read up on select in the MySQL manual and didn't see much, does anyone out there know of such a feature? Should I just take the whole field into php and do it that way? thanks, Micah Bushouse -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL select a field's first X bytes

2002-12-16 Thread Micah Bushouse
Thanks a lot! I'm just blind! "Quentin Bennett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] o.nz... What's wrong with select left(myfield, 500) from mytable; ? Quentin -Original Message- From: Micah Bushouse [mailto:[EMAIL PROTECTED]] Sent: T

[PHP] Does PHP recognize multiple selections in a form?

2002-12-27 Thread Micah Bushouse
grrr... I am trying to get several values from a selection form field (using multiple) into PHP. Is this possible? The code I'm using to test this is below. After running the code and selecting more than one field, the last field (the greatest number) is the only one that shows up as the only in

[PHP] Re: Does PHP recognize multiple selections in a form?

2002-12-27 Thread Micah Bushouse
Sweet! It worked. Thanks a lot! btw: php|architect is good stuff. My dad was complaining about not being able to convert doc to pdf cheaply, and the next day I coincidentally got the first issue. He now uses the pdf converter at work! keep it up! ~Micah -- PHP General Mailing List (http: