[PHP] Re: query error

2005-04-17 Thread Dasmeet Singh
pete M wrote: I've got a database table with a whole list of windows file paths. eg Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Excel.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Office Setup.lnk

[PHP] Re: query error

2005-04-16 Thread Satyam
I believe the \ preceding the last % makes it a literal % not the wildcard % pete M [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've got a database table with a whole list of windows file paths. eg Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk Advent

[PHP] Re: Query/Error

2002-05-17 Thread Richard Creech
Anthony, I find it is useful to write code such that every outcome, however remote, is handled by your code: $query = INSERT INTO ... blah ; // pconnect, select and query if ($link_identifier = mysql_pconnect(DBSERVERHOST, DBUSERNAME, DBPASSWORD)) { if ( mysql_select_db(DBNAME,