Ask a Question related to PHP Development, Design and Development.
-
Owain Jones #1
Editing SQl data in a HTML form
Hi,
I have a table called "micromouse" within that table I have a load of
variables with HTML code in it. I would like an "editing" page that has a
drop down box of all the variables in that loads the contents of the vaiable
into a text box, which I can edit and click on "Update". The names of the
variables are given in the option value.
The code I have so far is this:
Is anyone able to add the PHP/mySQL code to allow me to do what I want!Code:<html> <head> <title>mySQL Editing Page</title> </head> <body> <p><b><font size="5" face="Arial">Website Editing Page</font></b></p> <form method="GET" name="micromouse" action=<?php echo $_SERVER['PHP_SELF']?> <p> <font size="2" face="Arial">Select page to edit: </font><font face="Arial"> <select size="1" name="page_to_edit" onchange="document.micromouse.submit();"> <option value="welcome">Welcome</option> <option>============</option> <option value="whatismicromouse">What Is Micromouse?</option> <option value="thetask">The Task</option> <option value="umldesign">UML Design</option> <option value="chassis">Chassis</option> <option value="hardware">Hardware</option> <option value="sensors">Sensors</option> <option value="software">Software</option> <option value="testing">Testing</option> <option value="documentation">Documentation</option> <option value="presentation">Presentation</option> <option value="gantchart">Gant Chart</option> <option value="downloads">Downloads</option> <option>============</option> <option value="teammembers">Team Members</option> <option value="thelab">The Lab</option> <option value="thewebsite">The Website</option> <option value="contactteam">Contact The Team</option> </select></font><br> <br> <textarea rows="22" name="text_edit" cols="94"></textarea></p> </form> <p> </p> </body> </html>
Thanks in advance!
Owain Jones Guest
-
need help printing PDF using HTML form data
I want to pass data from an html form to a database; then, I need to use that data to generate field data in a pdf file that our web users can print,... -
load/send XML data via HTML form
I currently have a Flash app that gets populated by parsing data from an external XML file. However, I need to get the XML data into a (JSP) session... -
Posting HTML Form data to MySQL via PHP
I just need a correct PHP statement that will allow me to instert a record into a MySQL database/table. The "mysql_query(" statment used below does... -
getting data from mysql to display in html form
hi guys, i have a mysql database with usersnames in it. i am creating a html form with a multiple listing field. i want to get the usernames form... -
I Nd HELP PLEASE html form to PHP - data gets lost
Hello all: I'm new to PHP. I setup a html form say "form.html" It prompts the user to fill in the fields: first name, email, & comments. Method is...



Reply With Quote

