Search found 94 matches

by revocause
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...
by revocause
Tue May 29, 2007 3:18 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

everah,

I will pay you to code the select menu.
That way i can see it in its entirety, and at that point I can rad the language well enough
to understand whats being done.

but this stuff is wasting a whole day.

let me know
thanks
by revocause
Tue May 29, 2007 3:07 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

and whats with that avatar = forum commoner?

are moderators insulting new members?
you never know who's on here right?
by revocause
Tue May 29, 2007 3:02 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

Everah, in that code you made whats the code look like to add values to 'string' display names ? example if select options have <option value ="1.50" > "widget 1"</option> <option value ="2.50" > "widget 2"</option> etc. and from your code example, I'd have to...
by revocause
Tue May 29, 2007 2:06 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

thank you very much Everah :)
by revocause
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...
by revocause
Tue May 29, 2007 2:00 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

super , Im not asking to be taught, I'm cert in php basics, and php/mySQL programming

but thanks for making yourself feel sporty :)
by revocause
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

Code: Select all

$price = array('product1' => $100.00, 'product2' => $200) etc.
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.
by revocause
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 :

Code: Select all

$name = $_POST['name'];
or the request:

Code: Select all

$name = $_REQUEST['name'];
I'm aware of the Super_Globals
by revocause
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...
by revocause
Tue May 29, 2007 1:42 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

Everah, I'd pay you to write what Im tryin to do . because farting around with it , is a waste of time, but seeing it done the right way once, and then I'd know and never forget it. its like one of them things you need to see it, to read the code and understand = "ahhh ha" otherwise this i...
by revocause
Tue May 29, 2007 1:23 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

If you could help me clean this problem up, I would be very happy and not bother like this again. Usually i dont ask for help
on things unless i absolutely cant figure it out.
by revocause
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 ...
by revocause
Tue May 29, 2007 1:11 pm
Forum: PHP - Code
Topic: passing variables back to same original page?
Replies: 57
Views: 2080

the above was the php script heres the example select menu , there are 6 of them with different values, and names a through g ( except 'e' is a subtotal <input>) <select name="a" STYLE="width: 110 px"> <option selected="selected" value="">Please Select</option...
by revocause
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...