Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
| Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 13th, 2006, 03:45 AM
Registered User
 
Join Date: Apr 2006
Location: , , Malaysia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Inserting data into DB

hello i'm a new programmer.. pls help me how to insert data into DB without retrieve data in 1 page. coz i got so many sample on that. 2 days my problem not solve.

on my form also having file upload. hopefully anyone outside there can help n teach me .

its so hard to me :(

 
Old April 24th, 2006, 07:54 AM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

step 1:you must create a php file name "connection.php" where u have to write some code(see mysql chapter or demo code)& include that file to your form
step 2:in your form type <!php ....sql query(insert....?>
now check it from mysql
Done!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with inserting data into an Access DB donrafeal ASP.NET 2.0 Basics 0 January 6th, 2006 05:34 PM
inserting yes/no value into Access DB using ASP pablohoney Classic ASP Basics 1 September 20th, 2005 12:00 AM
Inserting a value containing ' into a db jfrizelle Classic ASP Databases 2 November 10th, 2004 08:55 AM
Keep inserting the same image to DB dcathers C# 2 August 31st, 2004 04:41 PM
INSERT INTO <--inserting data into db abbylee26 Classic ASP Databases 2 March 11th, 2004 05:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.