No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am checking to see if a value has been entered in a form and then updating only if a value is entered. The problem is I want 0 to be an option that can be entered and php is treating 0 as if it were the same as NULL … |
|
I am wanting to create a drop down menu that displays one value in a database inside the form, but passes another value when the form is submitted. For example I have a table named users with entries: ----------------------------------- ID | UserName ----------------------------------- 1 BobG ----------------------------------- 2 JaneD I want … |
|
I know you can use the if/elseif to make php compare values [code=php] if ( $Quantity != 0){ $a = ( $b * $c ); } elseif ( $Quantity == 0){ $a = ( $b + $c ); } [/code] but what if you want it to do something only … |
|
I have a table with entries for ItemID and Amount ... I am querying this table and displaying the contents from the previous date by itemID and amount. I have the array grouping the items by Item ID what would like to be able to do is to get a … |
|
I have a query that is returning customer data. I want to pass the $row['VisitorID'] Value on using the _GET _POST superglobal in two different links one that goes to a page to edit users profile and one that edits the users order preferences. I can get one or the … |
|
Hello All, I have a order form that is using a foreach loop with an array. The loop displays correctly the first time it is displayed on the page, but when the totals are updated with the submit button the loop duplicates the second to last entry? [URL="http://cubicalstudio.com/wholesale/foreachlooperror.php"]Here is a … |
|
Hello All, I am fairly new to PHP ... I am trying to build a basic order form for a small wholesale database and am completely stuck. The function of this page is display items and their price from the database along with an input box that will allow the … |
|
Re:
I'm doing our site and the template I used looks nice on my old monitor, because it fits the screen. My new computer has a widescreen monitor and so now I see that the layout of the page has the page based on the left side of the monitor How … |