View Single Post
Old 12-06-2002, 11:38 PM  
psyko514
See sig. Join Epic Cash.
 
Join Date: Oct 2002
Location: Montreal, Quebec. ICQ: 214702014
Posts: 22,366
Quote:
Originally posted by magnatique
php has to be enabled on the server ;)

also, as I said, replace the * by ?


whatever you put in a url like
?id=test

you call it back ('test')
by writing
<* echo $id;*>

where the * is a ?
number one, php is enabled by the server.
number two, i had originally tried it in the format you suggested, and that didn't work, so that's why i came here.
you're 100% right about java being client-side and php being server-side... i thought it would work, but it didn't

as for your comment rory, i'm a "newb" when it comes to javascript... not when it comes to php/c++

i'll attempt to explain my objective a bit better. i have a frames page, the top frame being a menu bar controlling the main frame.
the surfer will fill out a form in the main frame and id is a unique ID assigned to them when they sign up for my site. it's the primary key of a mysql table.
when the login, a script retrieves their info from the table, and ID gets plugged into a hidden form element.
when they fill out the form and submit it, the form gets processed and they're brought to the javascript redirect page which redirects them based on their screen size, giving them a unique page based on their screen size and ID

-------------------------------------------------
it's all moot because i've solved the problem
but thanks anyways
psyko514 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote