Current location: Hot Scripts Forums » Programming Languages » PHP » View, edit, delete and add data to a database


View, edit, delete and add data to a database

Reply
  #1 (permalink)  
Old 07-20-04, 09:20 PM
bigkid bigkid is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-20-04, 09:34 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 07-20-04, 09:38 PM
bigkid bigkid is offline
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 07-21-04, 04:16 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
Code Guru
 
Join Date: Jun 2004
Location: Oregon
Posts: 758
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 07-21-04, 06:48 PM
ermau's Avatar
ermau ermau is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 07-21-04, 06:50 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 07-21-04, 06:56 PM
ermau's Avatar
ermau ermau is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 07-21-04, 07:26 PM
infinitylimit's Avatar
infinitylimit infinitylimit is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 07-21-04, 08:12 PM
ermau's Avatar
ermau ermau is offline
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 07-22-04, 12:51 AM
bigkid bigkid is offline
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:51 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.