Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning MySQL
|
BOOK: Beginning MySQL
This is the forum to discuss the Wrox book Beginning MySQL by Robert Sheldon, Geoff Moes; ISBN: 9780764579509
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning MySQL 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 June 2nd, 2008, 04:07 PM
Registered User
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't get the code in chapter 17 to work

I have installed mysql 4.1.6, apache 2.2 and php 5 on Windows XP.
I took the comments off the php.ini file for mysql and mysqli.
I can get the code in the beginning of the book (Beginning MySql by Robert Sheldon and Geoff Moes), to work on page 35 but when I try to access the code in chapter 17, it displays the headers but the php code is not executed. Instead, the code itself is displayed.
I have installed, reinstalled, tryed all kinds of things and am loosing my mind. I am sure it is something simple. I am not as familiar with Apache and PHP as I would like. But, I am learning. :)
I am actually using this book (Beginning Mysql,by Robert Sheldon and
Geoff Moes) as a textbook. I desperately want to be able to use the code in the back of the book to show my students how the front end (the web based app), works with actual database.
Apache and PHP are working fine. When I run the phinfo() test, it displays everything that is installed include mysql. I have created the DVDREntals database in mysql via the command prompt.
Please help!
 
Old June 22nd, 2008, 05:58 PM
Registered User
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured it out.
I am using Windows and I believe it requires php to be on every >? tag.
That did it and solved the problem in case any other poor person has this problem.
Lots of issues in that book.
I am debugging a lot as I go.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error code: Chapter 17 Pag 576 luisxvarg BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 1 October 15th, 2007 08:06 PM
Rest of code for Chapter 17 Glen Conaway BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 August 31st, 2004 06:47 PM





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