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 :
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
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
?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
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
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
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
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
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
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
10 matches
Mail list logo