Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP6
BOOK: Professional PHP6
This is the forum to discuss the Wrox book Professional PHP6 by Edward Lecky-Thompson, Steven Nowicki; ISBN: 9780470395097
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional PHP6 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 March 10th, 2011, 11:19 AM
Registered User
Join Date: Mar 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 the script doesn't work..

Hi, i've uploaded all the files of chapter 3 (a part from sqls files), i've changed just the connection's parameters to match mine, the database and local server are correctly working. If the scripts from the download are 100% correct i believe i'm making some mistake on Inserting data to the database, is there any INSERT script to run to make it identical to the test page on the book?

Or if you inserted data and it works can you please send me the INSERT script
you've run..

Thanks a lot!
Old March 31st, 2011, 11:54 PM
Registered User
Join Date: Mar 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default database type?

if your database is mysql you may use like this
SELECT `id`, `name` FROM `usertable` WHERE ......

this book use postgresql the book example is

SELECT "id", "name" FROM "usertable" WHERE.........

i use Chapter 7 all the script is work good only change is use ` to change "
Old April 1st, 2011, 12:00 AM
Registered User
Join Date: Mar 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default but in Chapter 7 i use my table

in Chapter 7 i use my table `ugc_content`

$dbName and $dbUser and $dbPasswd change myself

and this dbUser and dbPasswd can connect my mysql database

so you kan write i small program to test your link_database by PHP file

SELECT `au_user`, `au_pwd` FROM `accout_user`;

Similar Threads
Thread Thread Starter Forum Replies Last Post
Make the tilde work on script element hpox ASP.NET 2.0 Basics 10 February 14th, 2011 03:00 PM
script work in my pc but not in host server nir987 ASP.NET 3.5 Professionals 5 January 15th, 2011 01:15 PM
why won't this script work Adam H-W Classic ASP Basics 3 October 13th, 2004 07:47 AM
Webuivalidation script doesnt work in netscape olambe BOOK: ASP.NET Website Programming Problem-Design-Solution 2 July 29th, 2004 07:30 AM

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