Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
I've learned to add to my database, display it, how do I edit / update it?
Old 05-01-2009, 01:28 AM I've learned to add to my database, display it, how do I edit / update it?
Extreme Talker

Posts: 176
Name: Aaric
Trades: 0
Anyone suggest a good place to learn this? I learn best by downloading a simple file that works and then figuring out why.

I've learned how to create a form that updates my database. Then I learned how to format and display content from that database.

Now I want to be able to edit, update, and delete that content.

Any help?
aaricwon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-01-2009, 01:30 AM Re: I've learned to add to my database, display it, how do I edit / update it?
Extreme Talker

Posts: 176
Name: Aaric
Trades: 0
I remember finding an awesome site that steps you through creating your own VERY basic CMS once but I can't find it anywhere now.
aaricwon is offline
Reply With Quote
View Public Profile
 
Old 05-01-2009, 03:19 AM Re: I've learned to add to my database, display it, how do I edit / update it?
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
http://www.amazon.co.uk/PHP-MySQL-Dy...1162345&sr=1-1 < good book for php, should have what your looking for.
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 05-01-2009, 05:40 PM Re: I've learned to add to my database, display it, how do I edit / update it?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Use the SQL UPDATE command to edit values and DELETE to remove rows

Code:
UPDATE table set col1 = 'newValue' WHERE id = 'x';
http://dev.mysql.com/doc/refman/5.0/en/update.html
http://dev.mysql.com/doc/refman/5.0/en/delete.html
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Reply     « Reply to I've learned to add to my database, display it, how do I edit / update it?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13214 seconds with 12 queries