[PHP] php 4.2.1 and MySQL

2002-07-22 Thread Brian McLaughlin
n? All of my scripts that use MySQL are failing in this same way. Thanks, Brian McLaughlin [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Arrays within classes

2002-04-05 Thread Brian McLaughlin
This is driving me crazy! I've created a class to hold data so I can just put the object into the session rather than saving off each piece of data separately. But I'm getting odd results from the arrays in my class that I can't explain. Here's a hunk of code that demonstrates: $words; ech

Re: [PHP] Arrays within classes

2002-04-05 Thread Brian McLaughlin
Hi Erik Thanks for the reply. I'm not sure how I missed the opening { in my message -- I copy/pasted the code. But the opening { is definitely there in the code -- I'd get a nice error message if it weren't. I believe it's OK to have a ; after the class def end-brace, but I removed it and I go

Re: [PHP] Arrays within classes

2002-04-05 Thread Brian McLaughlin
Thank you!! Now I need to figure out how to put all this hair back in my head. Brian "Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I corrected the syntax errors Erik found and added var_dump() after each $t > equation/assignment > > The proble

[PHP] HTML form element

2002-04-12 Thread Brian McLaughlin
Hi all. I have a tag like this on a php-generated web page. Art Biology Business and Economics" etc. etc. My question is... since this is a multiple-select list, in the php script that this form calls on a submit, how do I determine which options have been selected? If I look at