Re: [PHP] PHP URL query

2006-05-11 Thread tedd
At 5:43 PM +0100 5/10/06, IraqiGeek wrote: Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. The following will show you how to do post and get :

[PHP] PHP URL query

2006-05-10 Thread IraqiGeek
Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. Here is what I have: A simple HTML file that contains: A HREF=test.php?var=test Hi, this is a test! /A and a php

Re: [PHP] PHP URL query

2006-05-10 Thread Jason Gerfen
IraqiGeek wrote: Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. Here is what I have: A simple HTML file that contains: A HREF=test.php?var=test Hi, this is a

Re: [PHP] PHP URL query

2006-05-10 Thread Brad Bonkoski
?php $var = $_GET['var']; echo( Welcome to our Web site, $var! ); ? -B IraqiGeek wrote: Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. Here is what I have: A

Re: [PHP] PHP URL query

2006-05-10 Thread Eric Butera
On 5/10/06, IraqiGeek [EMAIL PROTECTED] wrote: Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. Here is what I have: A simple HTML file that contains: A

Re: [PHP] PHP URL query

2006-05-10 Thread Dave Goodchild
register_globals is disabled on your system, which is a good thing. So you have to reference all values sent via a form using GET with the $_GET superglobal array as follows: Welcome to our web site, {$_GET[var]} or 'Welcome to our web site, ' . $_GET['var'] etc etc On 10/05/06, IraqiGeek

Re: [PHP] PHP URL query

2006-05-10 Thread John Nichel
IraqiGeek wrote: Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. Here is what I have: A simple HTML file that contains: A HREF=test.php?var=test Hi, this is a

Re: [PHP] PHP URL query

2006-05-10 Thread IraqiGeek
On Wednesday, May 10, 2006 6:08 PM GMT, Jason Gerfen [EMAIL PROTECTED] wrote: IraqiGeek wrote: Hi all, I'm somewhat new to php, though I have played a bit with the language. I'm currently learning the language, and I'm having a problem passing variables through URL query. Here is what I

RE: [PHP] PHP URL query

2006-05-10 Thread Vedanta Barooah
Try this : ?php $foo=$_GET['var']; echo ($foo); ? Refer: http://www.zend.com/zend/art/art-sweat4.php - Vedanta Barooah -Original Message- From: IraqiGeek [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 10:14 PM To: php-general@lists.php.net Subject: [PHP] PHP URL query Hi all

Re: [PHP] PHP URL query

2006-05-10 Thread Jochem Maas
IraqiGeek wrote: Hi all, ... two things which have nothing to do with your original question (that seems to have been covered rather well) Regards, IraqiGeek www.iraqigeek.com try viewing your site in firefox - notice all those question marks in the content? might be interesting to find