View Single Post
Old 10-29-2007, 10:14 AM   #4 (permalink)
bluesaga
Super Moderator
Advanced Programmer 
 
bluesaga's Avatar
 
Join Date: Sep 2007
Posts: 165
Thanks: 0
bluesaga is on a distinguished road
Default

I think what Karl is refering too, is that you do not have any clarity in your error reporting:

PHP Code:

        
if (empty($this->m_name) || empty($this->m_email) || empty($this->m_artist) || empty($this->m_album) || 
            empty(
$this->m_release) || empty($this->m_song) || empty($this->m_lyrics)) {
            
$szError .= 'Please fill in all required fields.<br />'."\n";
            
$bError true;
        } 
Errors like "You did not fill in the lyrics column" would be better.

I would hazard a guess that Karl will recommend an external validation class, as would i :)
__________________
Halo 3 Cheats
bluesaga is offline  
Reply With Quote