Move include("class.jm_sms.php") outside of the loop.

--
Justin Garrett

"Sagar" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I'm using jm_sms class in mysql
> do....while($myrow=mysql_fetch_array($result)) loop.
> the class is running fine for the first time. But when it is called for
the
> second time i'm
> getting an error saying "cant redeclare the class". How to make this class
> work within
> a loop.
>
> i'm attaching the files if u want to look inside.
>
> any help is highly appreciated.
>
> thanks,
>
> /sagar



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to