Next Question
Hi
RSS
http://pastebin.com/f3e3186b2
its actually pretty easy to code that stuff but since I already did it..
here's my code for that from my little library. you can wrap it in class CRUD { } and add public in front of all the function names or just use it the way I do by just calling require_once('crud.php') and then calling the functions.
unfortunately it is giving me a server error due to all the code I think so I put it in a pastebin: http://pastebin.com/f3e3186b2
Source(s):
http://pastebin.com/f3e3186b2
Permalink | Report
ilaksh
Answered Question
December 24, 2008 05:37 AM
Hi
Can anyone send me the class file to access the whole db to insert ,del etc ....
For ex to insert the values into db $db = insert(fields,values); and to update $db = update($query);
just by using one class file i should be able to manipulate the whole database connections .. (ie) to connect to db , insert,del,update,count and everything....
just by using one class file i should be able to manipulate the whole database connections .. (ie) to connect to db , insert,del,update,count and everything....
Interesting Question?
Yes (0)
No (0)
- In Web Development |
- |
- Report |
-
Share
RSS
Best Answer Chosen by Asker
| December 24, 2008 12:26 PM |
its actually pretty easy to code that stuff but since I already did it..
here's my code for that from my little library. you can wrap it in class CRUD { } and add public in front of all the function names or just use it the way I do by just calling require_once('crud.php') and then calling the functions.
unfortunately it is giving me a server error due to all the code I think so I put it in a pastebin: http://pastebin.com/f3e3186b2
Source(s):
http://pastebin.com/f3e3186b2
Permalink | Report
ilaksh
December 26, 2008 01:14 AM
.
Tip ilaksh for this comment
Report
Answer this Question
Related Questions
Ask a Question
Buy Mahalo Dollars with Credit Card or PayPal
Top Members
Most Popular Tags
Categories
- Anonymous
- Arts & Design
- Beauty & Style
- Books & Authors
- Business
- Cars & Transportation
- Consumer Electronics
- Coupons Deals
- Education
- Entertainment
- Environment
- Fitness
- Food & Drink
- From Email
- From Iphone
- From Twitter
- Health
- History
- Hobbies
- Home & Garden
- How Tos
- Humor
- Jobs
- Legal
- Local
- Love & Relationships
- Mahalo Answers Community
- Money
- Music
- News
- NSFW
- Parenting
- Pets
- Science & Mathematics
- Services
- Shopping
- Social Science
- Society & Culture
- Sports
- Technology & Internet
- Travel
- Video Games
Welcome New Members
- dantegabrillo, December 11, 2009 05:04 PM
- ebaylady56, December 11, 2009 05:01 PM
- luv2bbq, December 11, 2009 04:46 PM
- broda, December 11, 2009 04:41 PM
- ayushiambhore, December 11, 2009 04:36 PM
Mahalo Dollars are the currency of Mahalo Answers.
Each Mahalo Dollar costs $1.
Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More