Notices
Non Scooby Related Anything Non-Scooby related

PHP help please

Thread Tools
 
Search this Thread
 
Old 19 July 2001, 10:49 AM
  #1  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi,

I'm trying to include a file and pass a variable.

This works, and passes addname with the value of fred

include('http://www.ipaqsoft.net/php/calladd.php?addname=fred');

However if I want to pass a variable, how do I do that? This doesn't work:

include('http://www.ipaqsoft.net/php/calladd.php?addname=$addname');

calladd.php things $addname is $addname and not the value I entered!

cheers,

greg
Old 19 July 2001, 07:33 PM
  #2  
106rallye
Scooby Regular
 
106rallye's Avatar
 
Join Date: Aug 2001
Posts: 722
Likes: 0
Received 0 Likes on 0 Posts
Post

Dunno if this helps at all?




All times are GMT +1. The time now is 12:40 AM.