Reply to Re: making a query string

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация