Re: [Phplib-users] phplib templates
Brought to you by:
nhruby,
richardarcher
From: Layne W. <la...@if...> - 2001-10-22 21:40:15
|
> I am writing a project in PHP and I want to use templates > (phplib) to keep > my html separated from code. > > Passing values from the php-code to the template works perfect! > Now I am trying to submit values in the form, but this is a > problem. When I > submit the old values in the form are submitted instead of the changed > values. > > What am I doing wrong?? It sounds like your browser is caching the results of the page - you wouldn't happen to be using Internet Explorer 5 for Windows, would you? This problem is addressed in PHPLib's session handling classes. Look in session.inc at lines 462 to 466 - either use PHPLib's sessions or make sure those lines get included into the beginning of each page in your project. > Any help would be appreciated. > > // code included in attachment. I would also recommend using PHPLib's nice database class and strongly encourage you to use a non-root mysql user for your websites. Layne Weathers Ifworld Inc |