View, edit, delete and add data to a database

07-20-04, 09:20 PM
|
|
Newbie Coder
|
|
Join Date: Jul 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
View, edit, delete and add data to a database
Hi all,
I've been trying to find a script that is able to be implemented into an already made webpage that will connect to a database and show all the information in a certain table.
While searching online, I've found a few that do this, but my only problem is that I need to to not only view, but also have a button next to each row to edit, delete the information found within that row. Also have a small form at the bottom of the page that allows new rows to be inserted into the table.
Does anyone here know where I can get such a script for free online? It would be a sure help
Thanks everyone!
|

07-20-04, 09:34 PM
|
 |
Code Guru
|
|
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yeah phpmyadmin works well with mysql databases. Just use that.
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
|

07-20-04, 09:38 PM
|
|
Newbie Coder
|
|
Join Date: Jul 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Im currently using myPHPadmin for setting up the database etc, but what I'm needing is a script that will allow even a computer newbie to view the information, edit it etc and be intregrated into my webpage.
Do you know anything out there that does this?
|

07-21-04, 04:16 PM
|
 |
Code Guru
|
|
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hmmm I'm sure there is something but heck just take you whizzardness (new word) and dumb down phpmyadmin it's GPL so you can go to town on it
just an idea, fun too!
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
|

07-21-04, 06:48 PM
|
 |
Wannabe Coder
|
|
Join Date: Aug 2003
Location: Florida, USA
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
PMA isn't the easiest to use for the newbie, nor is the code easy to modify.. it's code is quite difficult to read and modify.
__________________
PHP / mySQL Developer
|

07-21-04, 06:50 PM
|
 |
Code Guru
|
|
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I think there is only two kinds of programming Easy and Fun.
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
|

07-21-04, 06:56 PM
|
 |
Wannabe Coder
|
|
Join Date: Aug 2003
Location: Florida, USA
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
But wouldn't easy and fun be the same type? Some times I just don't understand how people come up with the way to structure things, a lot of times it's just so dis-organized, jumpled, and just out-right crazy lookin'.
One thing that really bugs me is when people hide things in a million little files and you have to go hunting, not only is it hard to deal with but that many files slows things down.
__________________
PHP / mySQL Developer
|

07-21-04, 07:26 PM
|
 |
Code Guru
|
|
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Easy and Fun are for me generally mutally exclusive. I find Easy programming boring, like the make me a login with a database. Fun programming is like here build a web-spider that runs for 4 hours each day via cron looking for these words and then downloads the results and at the end of run compresses everything.
Now that is Fun. A challegene.
I do admit though the million includes do get a little annoying but when you have dreamweaver or similiar and just do a find all it will look in all the files for what you are hunting down.
I do however find it annoying when people decide to rename functions that are in php aleady. Like vbulletin does a bunch of
For instance from vb
function fetch_rows($link){
return mysql_fetch_array($link);
}
Come on is that really nesscary? I guess if your thinking of making it compatible with more databases down the line... but then you ask why not use PEAR?
So yeah I have a love/hate relationship with my programming.
__________________
Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads
|

07-21-04, 08:12 PM
|
 |
Wannabe Coder
|
|
Join Date: Aug 2003
Location: Florida, USA
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ah I see your point, yes, challenging programming can be fun just as tedious programming can sometimes very annoying.
As for renaming functions, sometimes it makes things easier to use, it makes it slower but if you do support more DBs, I'd rather make my own system then using something from PEAR.
__________________
PHP / mySQL Developer
|

07-22-04, 12:51 AM
|
|
Newbie Coder
|
|
Join Date: Jul 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for the big discussion, but does anyone here know of a script that can help me?
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|