Search found 4 matches

by kgray
Wed Dec 01, 2004 12:02 am
Forum: PHP - Code
Topic: Playing with GET
Replies: 2
Views: 407

LOL, thanks alot. I cannot believe I missed such a simple mistake.

Ken
by kgray
Tue Nov 30, 2004 7:31 pm
Forum: PHP - Code
Topic: Playing with GET
Replies: 2
Views: 407

Playing with GET

Please forgive how ugly the code is, just playing around trying to figure out how things work in PHP. Trying to figure out how to use _GET(). I can pass and grab a single variable, but when I uncomment the code for the second variable I run into problems. Script will run until a link is clicked. How...
by kgray
Tue Nov 30, 2004 5:42 pm
Forum: PHP - Code
Topic: php & mysql
Replies: 2
Views: 363

Newbie so I may be wrong, but shouldn't $forum_id not be enclosed in singe quote? #like this $result1 = sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums WHERE forum_id = $forum_id", $dbi ); #or this $result1 = sql_query( "SELECT auth_view, auth_read FROM &qu...
by kgray
Tue Nov 30, 2004 11:53 am
Forum: PHP - Code
Topic: Question on using and assigning an array within a class
Replies: 0
Views: 136

Question on using and assigning an array within a class

Hi, When you look at the very stipped down code below, it will be obvious that I am new to PHP. Error checking and such has been removed. My question is using an array as a class member. class connection { var $row; #have tried initializing array with var $row = array('id' => " ",....) fun...