Hi Cesar,

> I want one of my links to open a brand-new 
> pre defined window using a javascript 
> but I don't know how to pass a variable so 
> the opened PHP file knows which info to get 
> from MySQL... 

In your launchinfopage() function, presumably you're specifying the url of
the page ("foo.php" or something)?

If so, just tack the variables on the end of the url as normal:

  foo.php?varname=varvalue

And then, in foo.php, look in the $_GET array:

  echo "varname is ". $_GET['varvalue'];

I do this quite a lot, I can go and dig up the code if you're still having
problems.

Cheers
Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to