View Full Version : PHP Popup


Jared
12-06-2003, 02:25 AM
How do you make a prompt in php while setting that string to a variable that the user puts in.

derekmcd
12-06-2003, 11:20 AM
can you give some more detail.

Most popup stuff is still done using Javascript but can be manipulated for a particualar use by variables in PHP.

What kind of popup do you want. Window, Alert Box, Input Box, ...?
What is it used for and what you want the outcome to be?

Personally I hate popups so I don't have them on my site, but I do have windows popup for some sections but they are required by scripts to do that, and they don't advertise anything ;)

Jared
12-07-2003, 01:45 AM
well, I wanted an input box that could be assigned to a variable.

Like:

Please input your name:
-----------------------------
| Box |
-----------------------------
Then, below that, have a check box so that users don't have to type it in again, and it stores a cookie on there machine.

Then, on the next screen, it says Welcome $name.

P.S I don't know databases, thats why.