CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 SetValue Error

Print topic Send  topic

Author Message
Graham Pearson
Posted: 06/26/2005, 6:37 PM

On my CCS Form I have a field called rdate which is hidden. I am
wanting to set this value to time() so I can store it in the database.
At the present time I have $members->$rdate->SetValue(time()); and
when I browse the form after a publish, I get the following error
message:

Warning: Missing argument 2 for setvar() in
/home/fantas23/public_html/register/Template.php on line 145

If I comment out the rdate->SetValue() line and re-publish I do not
get the error message on Template.php. Line 145 of Template.php is:
function setvar($key, $value) { $this->globals[$key] = $value; }

What am I doing Wrong?
peterr


Posts: 5971
Posted: 06/26/2005, 7:13 PM

Try changing this code to $members->rdate->SetValue(time());
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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