Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

class prob

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

class prob

Postby Alicia » Tue Dec 02, 2003 12:45 am

Hi guys,

Can you guys tell me what is the prob with my code ?

error:
Fatal error: Cannot instantiate non-existent class: mime_mail in /home/fione/public_html/clients/apple/mime.php on line 89

code:
$mail = new mime_mail();

class:
class mine_mail
{
var $parts;
var $to;
......


Please advise.
Alicia
New php-forum User
New php-forum User
 
Posts: 94
Joined: Sun Sep 21, 2003 5:30 pm

Re: class prob

Postby ruturajv » Tue Dec 02, 2003 1:04 am

Alicia wrote:Hi guys,

Can you guys tell me what is the prob with my code ?

error:
Fatal error: Cannot instantiate non-existent class: mime_mail in /home/fione/public_html/clients/apple/mime.php on line 89

code:
$mail = new mime_mail();

class:
class mine_mail
{
var $parts;
var $to;
......


Please advise.


try this.... :) :D
Code: Select all
class mime_mail
{
   var $parts;
   var $to;
......
}

$mail = new mime_mail();



Note the spelling of the class !!! :D
User avatar
ruturajv
php-forum Super User
php-forum Super User
 
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.