class prob

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

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.

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

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


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron