Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
| Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 27th, 2005, 06:47 PM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default class.SimpleMail.php problem

I am trying to implement the Mailing List manager outlined in "Beginning PHP5, Apache, MySQL Web Development." But I keep getting this error:

expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in class.SimpleMail.php on line 4

Do you folks think this a bug in the book code or is it that I'm using php4 point something and not 5?

thanks, Matthew Lasar

 
Old December 28th, 2005, 05:38 AM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Most likely, you've not copied the code correctly.

May be you missing a ;, or {, or }?

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Students' finances
 
Old December 28th, 2005, 09:30 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Can we see the code? (just the relevant snips)

You might have better luck asking your question in the forum for "Beginning PHP5, Apache, MySQL Web Development", which is located here: http://p2p.wrox.com/forum.asp?FORUM_ID=157

HTH!

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design




Similar Threads
Thread Thread Starter Forum Replies Last Post
Class SimpleMail timType3 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 July 27th, 2008 05:56 PM
How to customise class.database.php raoof PHP Databases 0 December 31st, 2007 11:48 AM
class SimpleMail timType3 Beginning PHP 1 September 5th, 2006 07:04 AM
SimpleMail class problems derrida BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 July 6th, 2006 05:52 AM
Vector class php cslcs BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 3 March 12th, 2004 03:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.