Hi! Thanks for the help!
That's pretty much what I figured, except that my query fails for some unknown reason. I echoed the query and do see the variable value, so it is being passed properly. However, I get no results.
What I'm trying to do is pull business listing info from a database and flow it into the page, based on the id value that's being passed. Unfortunately what i get is a blank screen. The code is below:
<?php
include ("template_top.html");
$query="select business_name,firstname,lastname,address1,address2,city,state,zip,email from bp_users where and bp_users.id=$site";
$result=mysql_query($query);
echo($query);
echo($business_name);
echo("<p class=header1>$business_name</p>");
echo("<p class=header1>$address1<br>$address2<br>$city, $state $zip<br><a href='mailto:$email'>$email</a></p>");
$query="select * from bp_user_sites where userid=$id";
$result=mysql_query($query);
echo("<p class=body>$desc1</p>");
echo("<p class=body>$desc2</p>");
echo("<p class=body>$desc3</p>");
echo("<p class=body>Visit our main website at $website</p>");
include ("template_bottom.html");
?>
Anything you can tell me would be phenomenal! Thats in advance for your coding help!