When you have a php extension on a page, and php on your server, then you can put
?variable=value
Or for more than one variable
?variable1=value1&variable2=value2
(they are seperated by '&')
Now, in the php file all of those variables will be, for example, $_GET['variable1'] and $_GET['variable2'], and the value of them will be what is after the '=' sign.
To work with these, your articles will have to be in some sort of php. The easiest way you can do this all in one page is to setup like this:
PHP Code:
<?php
if ($_GET['comic'] == 1)
{
?>
INSERT THE HTML FOR THIS COMIC HERE
<?php
}
else if ($_GET['comic'] == 2)
{
?>
INSERT THE HTML FOR THIS COMIC HERE
<?php
}
else if ($_GET['comic'] == 3)
{
?>
INSERT THE HTML FOR THIS COMIC HERE
<?php
}
else
{
?>
HTML FOR IF THERE IS NO ARTICLE WITH NAME/ID THEY SAID
<?php
}
?>
etc.
Note: The area between the <?php and ?> is the php code, anything outside of those tas will be treated as plain html code.
An even better way is to store the articles in a database(mysql) but that takes some understanding of PHP to get going so it would be best if you stick with this unles you want to start reading some tutorials on php.
I could also PM you some example sites that i've made that use mysql.
Bookmarks