|
Posted by Ian Collins on 11/18/43 11:42
The Numerator wrote:
> Hi, I'm new to Google Groups (this is my first post or topic or
> whatever it's called). I'm also new to PHP. My knowledge in PHP extends
> to variables, basic fuctions, etc. I have a site with a MySQL 4.1.14
> database and I use phpMyAdmin 2.6.3-pl1.
>
> Suppose there's a page called videos.php. What do I need to do to get a
> page called:
> videos.php?name=matrix-ping-pong
>
Firstly, this isn't google groups, it's Usenet.
Second, the page is videos.php. name=matrix-ping-pong is the data passed
to the page. You can access the data though the super global array
_GET[]. In this case, _GET['name'] = matrix-ping-pong.
> Also, it would be helpful if you tell me how to add more pages (well,
> it's really not a page, is it?) such as:
> videos.php?name=hamster-dance
Use a switch statement based on _GET['name'].
--
Ian Collins.
Navigation:
[Reply to this message]
|