Search found 94 matches
- Fri Jun 08, 2007 1:46 pm
- Forum: PHP - Code
- Topic: cant figure this one out
- Replies: 2
- Views: 229
cant figure this one out
Hi , im new to sessions and cant figure this out: I have javascript select menus (approximately 5 to 8 each page version) I need their values to be passed to sessions so that i can use them on the next page OR I would like to post them back to the same page showing what they had selected WITH the to...
- Tue May 29, 2007 3:18 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 3:07 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 3:02 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 2:06 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 2:02 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
correct if your next comment is to say im not an 'expert' otherwise i wouldnt be here chasing around the mullberry bush getting 'schooled'. kinda odd, my first day signing up to this forum , 4 hours later, and i have people basically scolding me like a school kid. for asking a simple coding question...
- Tue May 29, 2007 2:00 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 1:59 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
I'm aware of Arrays , newArrays, associative arrays
but see what I been saying is, its just this code for this one page, I've never written before, not exactly sure what it should look like/ be coded like.
Thanks.
Code: Select all
$price = array('product1' => $100.00, 'product2' => $200) etc.Thanks.
- Tue May 29, 2007 1:53 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
superdesign, thanks but im aware of that
example :
or the request:
I'm aware of the Super_Globals
example :
Code: Select all
$name = $_POST['name'];Code: Select all
$name = $_REQUEST['name'];- Tue May 29, 2007 1:50 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
I thought this forum was about getting help? I feel like Im bringing the stick back..and somebody tosses it away again for me to run after it again . its a line of code, if somebody had asked me , I would see their code was screwed, and write it out once, then erase it off the board but at least let...
- Tue May 29, 2007 1:42 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 1:23 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 1:15 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
what looks odd and confusing to me, is that in the php script im using the names of the select menus example e = (a*b) + (a*c) + (a*d) + (a*f) + g; // Calculate. but will i have to make them into $variables first? like $a = a $b = b $c = c etc and then use that math function? Right now that code of ...
- Tue May 29, 2007 1:11 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
- Tue May 29, 2007 12:54 pm
- Forum: PHP - Code
- Topic: passing variables back to same original page?
- Replies: 57
- Views: 2080
ok i tried that, switched .html to .php page. it reloads the page, but doesnt keep the variables, the select menu defaults back to 'please select' state lol I think all I'm doing is slaughtering my former coding that worked in javascript. l o l this sucks. oh boy, anyway , check this out <?php $inpu...