2,403 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bennetjosem

How can i display result of a single cell query? my query is [code]$author=$_POST["authorname"]; $q="Select authorid from authors where AuthorName=$author"; $resultauthor=mysql_query($q,$connect); $num=mysql_num_fields($resultauthor); [B]<<Error coming here![/B] :( mysql_num_fields(): supplied argument is not a valid MySQL result resource in[/code]

Databases display mysql
Member Avatar for bennetjosem
0
172
Member Avatar for Ajaxxx

I have the following code: [php]$rebate_query = tep_db_query("select * from " . TABLE_REBATES . " where product_id = " . (int)$HTTP_GET_VARS['products_id']); $rebate_information = tep_db_fetch_array($rebate_query);[/php] This should return only 1 row of data I have this code - " [php]$rebate = $rebate_information['rebate_amount'];[/php] " for extracting the rebate amount. For the life …

Databases mysql
Member Avatar for Gary King
0
177
Member Avatar for Ness1879

The computer is a Dell Optiplex GX270, running Windows XP Pro., and Office 97 Pro. I've had Office 97 running on this computer for a few months and Access was fine. I went to open it and got an error saying it couldn't be opened because there was no license …

Member Avatar for woofy
0
146

The End.