Hey devinemke I know I need to use the Order by and I'm doing that in my stored procedures and leatherback, I don't think I want to plunge into javascript at this point. As I said earlier, I need to pass a order by variable to the database when a user clicks a particular column, the problem is how to send the variable on click. I'll give you a line of code that has an error and you can tell me where the error is
echo '<td><b><a href="<?=$_SERVER['PHP_SELF']?>?order=OrgName">Organization Name</a></b></td>';
before that I've declared the $order variable and I also have the code that is starting the table and row.
Now, this is the error I'm getting
PHP Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Inetpub\wwwroot\GeoSearch\UserQuery.php on line 79
what could be the problem guys, thanks in advance.