retrieve two database table values in a single html table -


I have a table in my database (probe_config). I have written a php coding to retrieve the DTS and display it in the html table. Does anyone correct my errors please When I load a php page in the browser, I'm getting an empty page.

& lt ;? Php $ Con = mysql_connect ("localhost", "root", "mysql");
if (! $ Con)

('Could not connect:' Mysql_error ()); <

mysql_select_db ("my_db", $ conn);

$ result = mysql_query ("Select Webmemberment from");

& lt; Table range = '1' & gt;

& lt; tr & gt; < replication
& lt; th & gt; < Code> & lt wait; / th & gt;
& lt; th & gt; timeout & lt; / th & gt;
& lt; th & gt; clearcache & lt; / or & gt;
& lt; th & gt; name < Code>
& lt; th & gt; wms & lt; / th & gt;
;

While ($ row = mysql_fetch_array ($ result))
echo " & lt; Tr & gt; "; resonating" ". $ Line ['replica']" & lt; / Td> "; resonating" ". $ Line ['wait']" & lt; / Td> "; resonating" ". $ Line ['timeout']" & lt; / Td> "; resonating" ". $ Line ['Clear']" & lt; / Td> "; resonating" ". $ Line ['name']" & lt; / Td> "; resonating" ". $ Line ['wms']" & lt; / Td> ";
echo" & lt; / Tr & gt; "|
}
echo" & lt; / Table & gt; ";

mysql_close ($ con);
? & Gt;

I think you need to know more about it.

The information is used in a proper format only for rendering. To access database records, we need to access database access To use the server side or web technologies (,, more), it can not be done with HTML alone.

If incorrect, please do not Collapse bit the question.

Comments