Re: [PHP] values from string query

2004-03-01 Thread Ian Firla
Try echoing your query and pasting it into mysql to make sure that the problem isn't in the structure of your query. Your connect statement selects a db, right? Ian On Thu, 2004-03-25 at 14:01, Angelo Zanetti wrote: > HI all I have a Select that get a resultset, once I get this then I use the >

Re: [PHP] values from string query

2004-02-26 Thread BAO RuiXian
Angelo Zanetti wrote: [snip...] $q="select * from prospects where p_id = '$p_id'"; $result=mysql_query($q, $this->link) or die ("".mysql_error()); while($a_row=mysql_fetch_array($result)) { $c_query="Insert into client (c_name, c_company, c_worktel, c_dir