RE: [PHP] unset() in a class

2001-08-28 Thread daniel james
If that's the code you're running, it's got several problems-- 1st, the function is mysql_query() 2nd, the query is built like this: $connection = mysql_connect('host', 'user', 'pass'); $db = mysql_select_db('db', $connection); $query = "SELECT * FROM tablename WHERE primary_key = '$primary_key'

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