User Profile
Collapse
-
Thanks a lot you guys for taking your time with this. I will try both approaches. -
getting data from multiple forms
Hello,
I have prepared a form and it is in its final stage. One thing that remains is the following: when I click a submit button in the page, all the information in the page, from different forms, needs to be collected and entered into a table.
I have created a new form with a button and once I click that button, it calls a new php (closeBill.php) file. I had planned that in this php file I would collect data from... -
yes it does make a lot of sense. thanks ronald. I will give javascript a try! if not i will be back :)...Leave a comment:
-
Thanks a lot ronald, will look into it too. But is there a way to just use html and php and sql to accomplish this? or do i definitely need to use java script or sth like that?...Leave a comment:
-
two related dropdown menus
Hello there,
I am trying to create two dropdown menus in one of my forms so that they behave in the following way:
the first menu consists of "categories " of items, which I hard coded into the form. i am looking to relate the second menu with the first one such that, as soon as you choose an option from the first menu, the second menu lists only the name of those items that falls in the "category"... -
Ronald, that was very helpful. My code finally works. I will look into how it actually dowes that. Thanks a lot for saving my day!
GLeave a comment:
-
Hello there,
I am trying to populate my drop-down menu from a temporary table named LoggedWaiterNam e. This table has only one feild that contains user ids of the logged users.
I am facing a major problem looping down the column. How do I go to the next row in the table, so that I can add the next value in the column to the menu? Please help.
I have included the codes that I have so far. Thanks a lot in...Leave a comment:
-
i see why an array wont work in this case. i will now try the temporary database idea. thanks!Leave a comment:
-
Hi Ronald thanks a lot for your reply. I am thinking, rather than a database, what if i create an array of people logged in and then go from there. I tried to implement this but I think my codes arent working.
I added a few lines of codes. But still the dropdown menu is not showing multiple users who are logged in. it only shows the last user. let me know if you have any idea about what is going wrong.
[php]<td...Leave a comment:
-
populating a dropdown menu based on user login
Hello there,
I am trying to populate one of my drop-down menus with the names of the people who are currently logged in. In addition, I want the names to be removed from the list if they choose to log out.
Here is what I have so far: I have the log in/out script working. so after the user logs in, his/her name is recorded in a variable.
My question: how do I add this name to the drop-down menu every time...
No activity results to display
Show More
Leave a comment: