Search found 94 matches

by revocause
Wed Jun 20, 2007 10:14 am
Forum: PHP - Code
Topic: configure UPS Bare Bones with PHP ?
Replies: 0
Views: 648

configure UPS Bare Bones with PHP ?

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] Anybody e...
by revocause
Tue Jun 19, 2007 1:11 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

thats awesome. it works
errors went away.

Yay .

thanks Rev and Super.
you two been the biggest help in two weeks :P

Its ok Scotty .. the engines have gone back to normal levels.. his brains not gonna blow

Thanks again.
by revocause
Tue Jun 19, 2007 12:55 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

dont sweat it Rev
I did modify your code to work with mine.

I just wouldnt have known how to see if it was set or not yet. so
by revocause
Tue Jun 19, 2007 12:53 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

I made a post but it went to 404 page. so excuse if this one becomes double. Anyway, i thought about if (isset) before that $_POST but i figured it would be default set always. this is back into swamp marsh for my newbie side of this stuff. can you show me what that would even look like?
by revocause
Tue Jun 19, 2007 12:36 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

oddity alert . It's still making that error when i first open the page. BUT , then after I select the choices and hit submit button the warning error disappears. I assumed this was because all the options have a defualt "Please Select" with no value. so i gave the that select menu a vlaue ...
by revocause
Tue Jun 19, 2007 12:27 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

DOh!~

thanks
them darn simple comma fruit flies got by .
I'll try that
by revocause
Tue Jun 19, 2007 12:20 pm
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

theres an error Im getting. Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in .....(local server blah blah etc) <?php $sql = "SELECT quantity, baseprice, weight FROM itemA_product, WHERE id = " . $_POST['selectmenuA']; $res = mysql_query($sql); ----> $...
by revocause
Tue Jun 19, 2007 11:14 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

ReverendDexter, did anybody ever tell you that you're a gosh darn genius! : ) Thats what Im talkin about. Thats exactly what i was tyring to get at . I was tyring to get the option key ( i was calling it value) to then trigger the function to call baseprice, weight, and quantity. and to then turn it...
by revocause
Tue Jun 19, 2007 10:06 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

Usually i handle less intense php scripts. So this product calculator is sorta a pain in the butt compared to my php beginner skill levels. I dont know if its allowed in the rules or not, but if one of the experts would like to build this , with an explanation so that it could be modified. I'd pay y...
by revocause
Tue Jun 19, 2007 9:56 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

in response to superdezign. Its a select menu 'drop-down' what im making is a product calculator. Select Menu 1. quantity 2. size 3. paper 4. folding 5. aqueous 6. color 7. proofs all of the attributes will be static values. Except quantity, and paper. When user selects quantity it must spit out = w...
by revocause
Tue Jun 19, 2007 9:39 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

this post no longer valid, as it was to somebody prior to superdezign.

see next post
by revocause
Tue Jun 19, 2007 8:42 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

nope thats not the problem either I have changed all the WHERE id = '1' (2,3, 4,5,6,7,8 etc) the problem I've bene having, is that the 4 variables (name, weight, baseprice, quantity) for ALL 15 options is queried. See, i only need the name, weight, baseprice, quantity .. for only the option the user...
by revocause
Tue Jun 19, 2007 8:26 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

So to refresh a little on the question, if i have 7 or 8 select menu options . But i only want the: name, weight, baseprice, quantity ...but, ONLY for the option selected. Then there has to be more code with the right syntax to seperate the query selected from the others. I was wondering if there is...
by revocause
Tue Jun 19, 2007 8:09 am
Forum: PHP - Code
Topic: is this code right? - Mysql query from select menu.
Replies: 33
Views: 1645

Now everyone is lively : ) that code is great! that you stated above. There's a problem with it though . If i do that code for all 8 or 10 select menu options, then it will query ALL of them. i only want the option selected by a user , to be queried. and stored as that pages response. for weight, ba...
by revocause
Mon Jun 18, 2007 3:15 pm
Forum: PHP - Code
Topic: trying something new since not much help from the forum
Replies: 5
Views: 484

trying something new since not much help from the forum

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'm tryin...