Hi all,
Okay my question is revolving around PHP so if you have no knowledge whatsoever, your best to close this thread right now...
Okay, at the moment, i am doing an IPT assessment revolving around PHP and mySQL, I am wanting to create a page that has different outputs, via php...
Example:
This forum has, displaythread.php?=.....|
(Note: Of course the forum is a little technical, but you should get the idea.)
What i want to do is make it have different outputs depending on what is after the equals sign...
I have tried googling the information but need a little more help. I am slowly understanding PHP, the only thing i basically need to know is its features, functions, etc...
Thanks guys if you can help me...
Hope to hear from you guys soon...
-EDIT-
I just found something that might be useful to me, and i believe its straight forward:
Okay my question is revolving around PHP so if you have no knowledge whatsoever, your best to close this thread right now...
Okay, at the moment, i am doing an IPT assessment revolving around PHP and mySQL, I am wanting to create a page that has different outputs, via php...
Example:
This forum has, displaythread.php?=.....|
(Note: Of course the forum is a little technical, but you should get the idea.)
What i want to do is make it have different outputs depending on what is after the equals sign...
I have tried googling the information but need a little more help. I am slowly understanding PHP, the only thing i basically need to know is its features, functions, etc...
Thanks guys if you can help me...
Hope to hear from you guys soon...
-EDIT-
I just found something that might be useful to me, and i believe its straight forward:
Code:
<?php
$content = $HTTP_GET_VARS['content'];
if (!$content ¦¦ $content == "" )
{ echo blog(); }
else if (function_exists( "$content" ))
{ echo $content();}
else
{ echo error(); }
?>












