Ask a Question related to PHP Development, Design and Development.
-
Adam Voigt #1
Re: [PHP] PHP Webpage like MySql- need to be able to see allfields and edit
Just select the values out, and put them as the default
in the value portion of the form inputs, example:
$query = mysql_query('select firstname,lastname from table where
id=1;');
$array = mysql_fetch_array($query);
<input name="firstname" value="<?php echo $array['firstname']; ?>">
<input name="lastname" value="<?php echo $array['lastname']; ?>">
On Thu, 2003-07-24 at 11:41, Matt Hedges wrote:--> Hello. I am building a webpage for a sorority- [url]http://www.olemissaoii.com[/url] .
>
> I built a basic php script where they add the sisters and their names, grad.
> date, and email. Is there anyway to build a page that shows all the fields
> where someone could go in and edit/add what they need? What I basically
> want is a webpage that works like MyCC SQL Database. The only thing I've
> been able to figure out is a basic update page, but using that they have to
> type in everything again- so for example if they want to change the email
> address, they'd have to retype the names and grad. date. So I'd like a
> script that shows all the rows and columns and allows someone to go in and
> change whatever field they want.
>
> Any help greatly appreciated,
> Hedges
>
>
>
>
> --
> ___________________________
> | Matt Hedges
> | [url]http://hedgesinnovations.com[/url]
> |
Adam Voigt (adam@cryptocomm.com)
Linux/Unix Network Administrator
The Cryptocomm Group
Adam Voigt Guest
-
Webpage in Edit Mode displays NO editable data!
I used Dreamweaver MX to develop our company's Intranet. Our HR Director makes changes to the Job Postings page on her own using Contribute 2. ... -
php+mysql-driven webpage
Hi! I have a little problem: I have php-code stored in a mysql-table. How do i run this code? if i echo it, i see the code, but how do i... -
PHP webpage like MySQL, PART 2
Many hanks for ya'lls help earlier. I've figured out how to pull the data and edit it: http://www.hedges.org/aoii/olemiss/updatesister.php ... -
PHP Webpage like MySql- need to be able to see all fields and edit
Hello. I am building a webpage for a sorority- http://www.olemissaoii.com . I built a basic php script where they add the sisters and their... -
[PHP] PHP Webpage like MySql- need to be able to see all fields and edit
Hello. I am building a webpage for a sorority- http://www.olemissaoii.com . I built a basic php script where they add the sisters and their...



Reply With Quote

