Search found 94 matches

by revocause
Mon Jun 18, 2007 1:36 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

the php experts are smelling blood in the water ..they're circling, look newbie meat ! . . l o l

ok enough of that, you guys get yours by making a lot more money than us newbs so .. its all fair right?

please answer my question about the syntax above
thanks :)
by revocause
Mon Jun 18, 2007 1:30 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] or for a ...
by revocause
Mon Jun 18, 2007 1:21 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

I looked at that page, tried the various ways they had queries etc. there was only a couple that wouldve been able to be modified to what i needed, but they dont work .. and further down the page you see all the 're-edits' of the mistakes. technically what I'd like to know is the correct syntax for ...
by revocause
Mon Jun 18, 2007 10:01 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

Somebody told me friday to try that from this forum. They said that was how i could fetch 3 variables/values from one select menu option. what I'm tyring to do with it, is connect to database, grab 'weight, baseprice, quantity' from one product and trying to use that WHERE id= '1' . to try to pull t...
by revocause
Mon Jun 18, 2007 9:37 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

is this code right? - Mysql query from select menu.

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi, (this...
by revocause
Fri Jun 15, 2007 4:03 pm
Forum: PHP - Code
Topic: HELP~ arghhhh doh!~
Replies: 6
Views: 414

like this

so in the regular query that looks like this <option value="<?php echo $row_Recordset1['baseprice']?>"<?php if (!(strcmp($row_Recordset1['baseprice'], $row_Recordset1['weight']))) {echo "SELECTED";} ?>><?php echo $row_Recordset1['quantity']?></option> <?php } while ($row_Recordse...
by revocause
Fri Jun 15, 2007 3:15 pm
Forum: PHP - Code
Topic: HELP~ arghhhh doh!~
Replies: 6
Views: 414

hmm

i didnt mean to have more than one option selected. I mean where one option itself , will make 3 queries to database to get 3 different attributes. the MULTIPLE only lets me select more tha none option is all right? so how can i make it if say <option> Item A </option> is selected, then it will make...
by revocause
Fri Jun 15, 2007 2:24 pm
Forum: PHP - Code
Topic: HELP~ arghhhh doh!~
Replies: 6
Views: 414

HELP~ arghhhh doh!~

I have a select menu and in one of the options, i need it to have multiple values. Is that possible? If not whats the best way to go about that? so say for example you have <select> <option > Item A </option> <option > Item B </option> <option > Item C </option> <option > Item D </option> and say th...
by revocause
Fri Jun 15, 2007 12:28 pm
Forum: PHP - Code
Topic: how to get select menu options to REQUEST more than one
Replies: 1
Views: 288

how to get select menu options to REQUEST more than one

Hi, do you know how to get a select menu <option> to REQUEST or query MORE THAN ONE variable/value from a database? so if example was: Select Menu: option1 = widget A option2 = widget B option3 = Widget C IF a user selected "widget A" for pretend, and if widget A had : 1. weight 2. basepri...
by revocause
Fri Jun 15, 2007 11:02 am
Forum: Javascript
Topic: history saved on select menu?....uhh
Replies: 6
Views: 715

this is the problem though

ahh , but the whole problem I'm having is that I need a select menu where each <option> saves its history , AND calls more than one value from database. so example: option1: 500 option2: 1000 option3: 1500 etc to 10,000 when user selects say option 2 . i need the value to be: baseweight, baseprice, ...
by revocause
Fri Jun 15, 2007 8:55 am
Forum: Javascript
Topic: history saved on select menu?....uhh
Replies: 6
Views: 715

ah

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I figured...
by revocause
Fri Jun 15, 2007 7:52 am
Forum: Javascript
Topic: history saved on select menu?....uhh
Replies: 6
Views: 715

re- js history

echo the users selection , sounds logical kirk.. but where would i put this? :) if(isset ) ? too bad computers arent more intelligent , then i could enter = echo $wtf_user_just_did_prior_to_you_reading_this ; can you give me an idea what this would look like, echoing the user selects, or a webpage i...
by revocause
Thu Jun 14, 2007 12:50 pm
Forum: Javascript
Topic: history saved on select menu?....uhh
Replies: 6
Views: 715

history saved on select menu?....uhh

Hi, I have a javascript drop-down (select menu) and when user selects all 8 product defining options , then it grabs variables, does the php math functions, blah blah. All of this part works great , but.. when the page reloads the $total value appears within an <input > text box. That part also work...
by revocause
Wed Jun 13, 2007 10:39 am
Forum: Databases
Topic: ideas on db and code creation
Replies: 1
Views: 349

ideas on db and code creation

I'm creating a select menu where 2 of the <options> rely on on eachother to determine the overall. Example: option 1. = Select quantity (500, 1000, 1500, 2000, etc to 10000) option 2. = Select paper type (80# gloss text, 80# matte text, 80# gloss cover, 100# gloss text, 100# matte text) While this w...
by revocause
Fri Jun 08, 2007 3:00 pm
Forum: PHP - Code
Topic: cant figure this one out
Replies: 2
Views: 229

Thanks

Thanks a lot , I'll try that out.

and thanks for the tip on the escape.

you the man . lol