Re: QuickForm whit controler Callback Trouble

From: Date: Fri, 15 Apr 2005 07:02:40 +0000
Subject: Re: QuickForm whit controler Callback Trouble
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18759@lists.php.net to get a copy of this message
Gabriel Sales wrote:
Hello i´m coding a form and have trouble with a callback to check if a nick_name already exists on my db, the function doesn´t work anyone can help me? thanx
[snip]
$result = &$db->getRow($query, $nick_name); [snip]
Sad to say, but getRow() doesn't accept a scalar as parameter for placeholders. This caused me an headache many times... -- Massimiliano Arione :: http://www.garak.it/ :: * NO WORD * http://gnu.org/philosophy/no-word-attachments.html * NO HTML * http://efn.no/html-bad.html

« previous php.pear.general (#18759) next »