Click to See Complete Forum and Search --> : URGENT: Help with php&Java


Dramestic
10-29-2003, 05:02 PM
pffff

I want to send variables, and I do not know anything about java. The sripts that I send earlier are the scripts i use to open a popup when i click on a image. That popup is know info.php

I want to sends a variable, so the popup opens an window with variables. Example

I click on one of the buttons and the popup opens "info.php?id=1"

I click on another button, and the popup opens "info.php?id=12"

Is this a little better?

Sorry, i'm not so good in explaining it.
and my english sucks big time.

Khalid Ali
10-30-2003, 08:10 AM
still confusing,but I'll try
in the popup you can retrieved tha passed variables (in url)like this

var dataPassed = window.location.search();

now you have id=any number here in the datapassed variable,to get the numerical value after the eual sign,
use the split function

http://devedge.netscape.com