|
Posted by Mark on 07/04/06 22:29
Andy Hassall wrote:
> On 3 Jul 2006 12:26:57 -0700, "Mark" <mnbayazit@gmail.com> wrote:
>
> >> >any ideas how I might fix this problem without overcomplicating my
> >> >handy-dandy system?
> >>
> >> You might want to look at the approach taken by HTML_QuickForm:
> >>
> >> http://pear.php.net/manual/en/package.html.html-quickform.tutorial.php
> >
> >Wish I could find an example of how it looks printed out.
> >Looks too bloated though... I don't need all that junk.
> >
> >Just need some basic checking.
>
> The basic idea still applies; you need to separate validation from
> presentation, so you can check one without doing the other.
>
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Yeah... I guess I figured that. Just didn't want it to have to come to
that... requires so much work.
Now I have to go and learn about PHP objects and stuff like that, so I
can make an array of elements, check em, record their errors, and then
print them w/ errors..
Navigation:
[Reply to this message]
|