Data is not displaying on php page from phpmyadmin -


helo evry1 want display data phpmyadmin table php page problem tht not displaying here code

  <?php     include('config.php');     $res = mysql_query("select * accord");      while($row = mysql_fetch_assoc($res))     {     $id=$row['id'];     $rupes=$row['rs'];     $mob=$row['mobilen'];     $carmodel=$row['modelcar'];     }     ?>       pkr:<?php echo $rupes;?>       here code plz                            

there might 2 problems

1) have issue config.php

2) query has issue try putting die this

mysql_query("select * accord") or die(mysql_error()); 

Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -