Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > BOOK: Dreamweaver MX: PHP Web Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Dreamweaver MX: PHP Web Development
This is the forum to discuss the Wrox book Dreamweaver MX: PHP Web Development by Gareth Downes-Powell, Tim Green, Bruno Mairlot; ISBN: 9780764543876
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Dreamweaver MX: PHP Web Development 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 August 1st, 2005, 04:38 AM
Authorized User
 
Join Date: Apr 2005
Location: London, , United Kingdom.
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page 39 ...Is this book Out nof date?

Hi All
I have just started this book having read it from cover to cover.
Page 39
create table tablename (field1 type1, field2 type2, ... ...,); produced the result
Error 1064 (42000): You have an error in your SQL sybtax.......... Checking this in the manual I see it refered to alterations made to mysql in recent updates.
Error: 1064 SQLSTATE: 42000 (ER_PARSE_ERROR)
Message: %s near '%s' at line %d

I am not sure what this means but this could be a reason for the error when I type the code the book recommeds. I am using MYSQL version 4.13.

I am also not sure if the author intends us to enter in additional fields or the dots. Most likely seems obivious to others.

Any comment on this gratefully recieved. I do not want to add to the dificulty in learning PHP/MYSQL

All the best
Jacky Kenna


Reply With Quote
  #2 (permalink)  
Old March 30th, 2009, 03:03 AM
Authorized User
 
Join Date: Mar 2009
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

CREATE TABLE tbl_name(
col_name_text VARCHAR(1),
col_name_int tinyint(11)
);

mysql correct syntax, otherwise this book does suck
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
Page 91 of book: Global Variables. Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 1 June 24th, 2006 10:48 PM
book examples not on code download page jb4mt JSP Basics 3 September 23rd, 2003 01:18 AM



All times are GMT -4. The time now is 05:15 PM.


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