I am allowing the user to select a city and state and presenting them with a list of organizations from a MySQL table which is formatted by the code shown below. The user then selects a particular organization by clicking on the ID for their chosen oranization at which point I am using the json_encode function to prepare
my data for pick up by my application. I put the table formatting in its own function so that it is not shown on the page with the json data. I am getting the error shown below and I don't know why:
"Parse error: syntax error, unexpected '<' in /data/21/2/29/104/2029919/user/2222485/htdocs/citystate.php on line 39"
Line 39 is the line that begins with "<table border..."
<?php
function show_table() {
<table border="1" cellspacing="2" cellpadding="2" style="background-color:#33990f;border-width:2px;width:100%;">
<tr>
<th><font face="Arial, Helvetica, sans-serif";font color="#FFFAFA">Organization Name</font></th>
<th><font face="Arial, Helvetica, sans-serif";font color="#FFFAFA">ID</font></th>
</tr>
</table>
}
?>