CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Similarly named variables

Print topic Send  topic

Author Message
Posted: 03/19/2003, 7:00 AM

I have a users table with fields called "password", "username" and "custref"
I have a jobs table with similarly named fields

In the "Before Insert" event of a form which inserts a record into the jobs
file I have the following code to query the users table...

$db->query("SELECT password, username, custref FROM users WHERE id=".

$fldpassword = "$password";
$fldusername = "$username";
$fldcustref = "$custref";

The values don't get transferred. I'm either not querying the users file
correctly or the assignments are not correct.

Any ideas?



These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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