CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 MYsql INSERT INTO

Print topic Send  topic

Author Message
avjoseph

Posts: 3
Posted: 07/15/2010, 11:05 PM

Im making a site that users log into and can keep a journal of records but i dont know how to structure my insert query.
i have 3 databases - users; user_cigar; and cigars
users holds information about the users and the key field is user_id
user cigar has 2 fields - user_id and cigar_id
cigars has 4 fields right now - cigar_id; cigar_brand; cigar_name; cigar_size; and cigar_desc

so I made a form and want to make a query where you can insert cigar_brand, cigar_name, cigar_size, and cigar_desc into the cigars table based on what the user_id is from the users table.

Can anyone help???
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.