Here is a small code that isnt producing any content on the page: Actually all these three blocks go together and i have wrapped with tags for highlighting purpose. If I use a php date display function, it displays the date and also the query run on DB is producing the correct result. But why isnt it display the output on the screen? <html> <head> <title>index</title> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> </head> <body id="BODY1"><?php echo @$arr_Result1[''] ?><p id="P1"><?php echo @$arr_Result1[''] ?></p> </body> </html> HTML: SOLVED
It's not displaying output because there aren't any valid PHP variables being echo'd. <body id="BODY1"><?php echo @$eg_Result1[''] ?><p id="P1"><?php echo @$eg_Result1[''] ?></p> Code (markup): If you remove the @ in front of both variables, it should throw an error due to it retrieving a null key ( [''] ).