ok, i just want to do this with my apache2 webserver on debian linux, and php, html creator dreamweaver MX
http://forums.devnetwork.net/posting.php?mode=newtopic&f=1
when i make a page with this link in it:
<A HREF="welcome.php?name=davo"> Hi, I'm davo! </A>
to a php page with this link in it:
<?php echo( "Welcome to our Web site, $name!" );?>
i get:
welcome to our web site, !
what is it a problem with???
thanks in advance, davo
Variable passing
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
davo666666666
- Forum Newbie
- Posts: 7
- Joined: Sun Apr 15, 2007 4:56 pm
what??
i get this parse error
Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/apache2-default/welcome.php on line 9
or you could check it out at
http://yeww.dyndns.org/apache2-default/ ... ?name=Davo
the web site is HEAVILY under dev, you'll see, im just testing all my php
i get this parse error
Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/apache2-default/welcome.php on line 9
or you could check it out at
http://yeww.dyndns.org/apache2-default/ ... ?name=Davo
the web site is HEAVILY under dev, you'll see, im just testing all my php
-
davo666666666
- Forum Newbie
- Posts: 7
- Joined: Sun Apr 15, 2007 4:56 pm
-
davo666666666
- Forum Newbie
- Posts: 7
- Joined: Sun Apr 15, 2007 4:56 pm
Code: Select all
<?php echo "Welcome to our Web site, ". $_GET['name'] ."!" ; ?>-
davo666666666
- Forum Newbie
- Posts: 7
- Joined: Sun Apr 15, 2007 4:56 pm