Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional PHP6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 10th, 2011, 10: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!
Reply With Quote
  #2 (permalink)  
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 "
Reply With Quote
  #3 (permalink)  
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`;
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:00 PM
script work in my pc but not in host server nir987 ASP.NET 3.5 Professionals 5 January 15th, 2011 12: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



All times are GMT -4. The time now is 08:19 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.