

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/sites//public_html/siteprotocode.php on line 26ĮDIT 2: Adding the $dbc variable and the connection stuff to the question Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/sites//public_html/siteprotocode.php on line 24 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sites//public_html/siteprotocode.php on line 23 I can't see anything obvious as the error.

$result = mysql_query("select * from `data` where `key`='$key'") or die(mysql_error()) ĮDIT: Here is the error I'm getting when I run this page on my localhost. In the php file that creates the database, I have tried var_dump(mysql_num_rows($result)) just before this code and I'm getting back 0, so I know that it's reading the sql. I don't see any errors, so I'm thinking it must be something stupid like a typo or something, but it shouldn't be that. I want to create a database table with data pulled from a third party source and written to the database using PHP and MySQL, but the following code doesn't seem to be getting anything into the database. For any problem during the time of understanding feel free to contact us through comment box.Download Free Book "Advanced Engineering Mathematics" By Rk Jain Srk Iyengar PdfĬategory:University of Delhi Press booksQ: Check each chapter, understand it then copy it. New Learning Composite Mathematics Class Exam:Ĭhapter 3: Squares and Square Roots, Cubes and Cube RootsĬhapter 6: Factorisation of Algebraic ExpressionsĬhapter 8: Percentage and Its ApplicationĪdvice for Students: Please don’t copy without understand. For any kind of problem please don’t be hesitate to contact with us in comment box.


Gupta, Anubhuti Gangal : Here in this page we Net Explanations provides CBSE medium New Learning Composite Mathematics SK Gupta Anubhuti Gangal Class 8 Math Book Solution in easy way with latest tricks.Ĭandidates of Class 8 can follow this page. New Learning Composite Mathematics – Class 8 Solution S.K.
