Sunday, 8 September 2013

How would I write this as another form of PHP

How would I write this as another form of PHP

Hey I had a question I can not figure out how to write this code:
<div><?=$rs['username']." ~ ".$rs["webcam_status"]?></div>
When I have my code already set up as only 1 php markup, the code:
<?php
echo"
<!-- header -->
";
include "../../access/$template/header.php";
echo "
<!-- content -->
<div><?=$rs['username']." ~ ".$rs["webcam_status"]?></div>
<!-- content -->
<!--footer-->
";
include "../../access/$template/footer.php";
echo "
";
?>

No comments:

Post a Comment