[PHP] syntax help please?

2001-08-29 Thread Glyndower
I'm coming over from the ASP side and I'm trying to get a handle on this stuff, I could use a little help with the how and wheres, please. I do ok with the SQl bits, but the PHP bits are still being elusive... Heres my code: $sql = SELECT

RE: [PHP] unset() in a class

2001-08-28 Thread Glyndower
I need to return a file not found if the search item is not found.. tryed my_sql_query(select from table where primary key = $primary key)or die file not found that didn't work suggestions anybody? please? purty please? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] suggestions

2001-08-28 Thread Glyndower
I have a medium sized db... with about 300 feilds and 15k rows. I need to create a search that will submit user input to seach the db from about 30 different feilds with some of those wildcards. i.e bedrooms, bathrooms, price, pool, city, etc Would using an array for the results page be

[PHP] if then else?

2001-08-18 Thread Glyndower
-Original Message- From: Glyndower [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 19, 2001 12:12 AM Cc: [EMAIL PROTECTED] Subject: Ok, here we go I'm new to PHP and also to MySql, but i'm making a pretty good go so far. Until now, lol I have a mysql database with several

RE: [PHP] if then else?

2001-08-18 Thread Glyndower
btw...this is the code i'm trying Please keep the laughter to a minimum...ah heck with it...laugh all you want...its good for ya ?php if ($prof_exp_1 = not null) { ? H4Professional Experience: /H4li ?php printf(mysql_result($result,0,prof_exp_1)); ?br ?php } else if ($prof_exp_1 =