I was wondering, when you're coding like
?p=kk21rek1ro etc..
Do you echo your code or close the php tag and then put a bracket after it (E.G: BELOW)
<?php
if(isset($_GET['id']))
{
?>
SomeHTMLcontent
<?php
}
?>
Or, do you echo it like below
<?php
if(isset($_GET['id']))
{
echo('SomeHTMLcontent');
}
?>
I prefer the first one, cause' you don't have to add the slashes.





Reply With Quote