PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



SEARCHING MYSQL

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP Articles Tutorials and Scripts
View previous topic :: View next topic  
Author Message
jacklindsay1990



Joined: 09 Jan 2009
Posts: 1

PostPosted: Fri Jan 09, 2009 7:32 pm    Post subject: SEARCHING MYSQL Reply with quote

hello people. im having a bit of a dilemma Sad

im working on a little project for work which is a has a form which puts data into a table in mysql...this work fine.

i now want another form on a different page which contains a dropdown box which is populated either staticaly of dynamically (doesn't matter which on yet). it will need to contain rep number, serial, tag, description and rep name.

the script will need to be able to do this:
depending on which option is chosen from the dropdown. all other text fields are disabled execept for the one which is chosen in dropdown.

so if rep number is chosen. the fields, serial, tag description and repname are disabled.
when the user types a rep number in the field, and presses a button, i want the script to query the database and find that record and display all the results in the equivilant texts fields, even though there disabled. i then want a button called edit, which when selected re-enabled all the disabled text fields, so i can edit the data and then have another button called re-submit which updates the information in the table.

the only thing remote like what im asking for is the simple print command in php which prints all the results in the table. i need to choose what i want to see.


any idea's on how i can do this?
Back to top
View user's profile Send private message
Atif



Joined: 09 Jul 2009
Posts: 1

PostPosted: Thu Jul 09, 2009 12:00 pm    Post subject: PHP Articles Tutorials and Scripts Reply with quote

Articles tutorials and free codes on PHP, SQL, Web design, HTML, ASP, JavaScript, PhotoShop for webmasters and programmers.







http://www.frenchsuppliers.com, http://www.diytoolsdirectory.com, http://www.usawholesalers.com, http://www.francewholesalers.com.
Back to top
View user's profile Send private message
robertflorish



Joined: 12 Jan 2010
Posts: 1

PostPosted: Tue Jan 12, 2010 11:16 am    Post subject: Reply with quote

Scriptsdesk - web script directory providing all kinds of scripts such as php scripts,asp scripts,asp.net scripts,javascripts,cgi scripts and many more scripts. Scriptsdesk has the collections of best scripts and resources you need.You can submit your scripts here and you can download free scripts & commercial scripts.
check for the script you want in this scripts directory.
http://www.scriptsdesk.com
Back to top
View user's profile Send private message
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



PHP Code Examples
 Stream diffrent sizes of images from a single image to save disk space.
 JavaScript dropdown list menu to switch any page.
 Dump the contents of a PHP variable in html format with a recursive list of subfolders and files from a given root directory.
 PHP Dump in html format the contents of one array variable with a recursive list of the nested array variables inside.
 Link Extractor - This function is used to extract links from a given URL. This will convert relative path into absolute path and also remove PHPSESSID stuff.
 Building a Dynamic Form using Javascript and innerHTML. Add form elements in realtime without refreshing the page.
 A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP Articles Tutorials and Scripts All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum