ImBugged Posted May 25, 2009 Share Posted May 25, 2009 I just started php, its kinda harder than the other language i'va learn so far. Here is some question i need help with. 1. How exactly do a php get values entered in another php file? Example? 2. How to get values from the database and display them in a php? I mean how does the query works? 3. I made a page, with a listbox for a logged in user to change the background color. What should i do to make the changes apply to all the other pages? 4. Base on 3rd question, lets say i choose red as background color and the original bg color is white. Next time i log in, how to make the bg color red instead of white? With a query? That's all i can think of for now. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/159620-solved-have-some-questions-here-d/ Share on other sites More sharing options...
.josh Posted May 25, 2009 Share Posted May 25, 2009 1. You would include or require the other php file in the current php file 2. http://www.phpfreaks.com/tutorial/php-basic-database-handling 3. You would store the value in the db and query for it. See #2 4. See #3. Quote Link to comment https://forums.phpfreaks.com/topic/159620-solved-have-some-questions-here-d/#findComment-841881 Share on other sites More sharing options...
ImBugged Posted May 25, 2009 Author Share Posted May 25, 2009 Wow thats exactly what i need. I search through pages of post but i could find anything i need in them. Guess i search the wrong place after all Quote Link to comment https://forums.phpfreaks.com/topic/159620-solved-have-some-questions-here-d/#findComment-841889 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.