[PHP] cant redeclare class......

2001-10-20 Thread Sagar N Chand
Hi all, I'm using jm_sms class in mysql dowhile($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

[PHP] cant redeclare class.....

2001-10-20 Thread Sagar
Hi all, I'm using jm_sms class in mysql dowhile($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