Lybarger, Denver J (LYBARDJ8) wrote:
> function findEntryId($tableName,$keyName){
> connects to DB
> $db ="SELECT * FROM '$tableName' WHERE '$keyName' = $selectOption";
Where does $selectOption come from?
Looks like you simply produced a MySQL-parse-error.
Try var_dump()-ing $db and $temp, thi
t $row to equal $temp after the call but it is not
allowing me to return $temp, any ideas?
> --
> From: Alexander Wagner[SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 4:19 PM
> To: Lybarger, Denver J (LYBARDJ8); '[EMAIL PROTECTED]'
> Subje
Lybarger, Denver J (LYBARDJ8) wrote:
> Is there a way to return the results of a mysql_query or the
> array that is generated after mysql_fetch_array, via a function?
> Note I have tried to do a straight return.
What was the problem? This should work. Maybe you just got the
mysql_fetch_ar
Hi All,
Is there a way to return the results of a mysql_query or the array
that is generated after mysql_fetch_array, via a function? Note I have
tried to do a straight return. Another issue is that all of the tables
are a different size, therefore a static array size would be a big was
4 matches
Mail list logo