Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: bopjo1
Forum: Beginning PHP April 30th, 2011, 02:29 PM
Replies: 2
Views: 1,286
Posted By bopjo1
What was the configuration error that was causing...

What was the configuration error that was causing it? I'm having the same issue.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 31st, 2010, 09:37 PM
Replies: 3
Views: 853
Posted By bopjo1
Did you have the images for this chapter? None of...

Did you have the images for this chapter? None of the files I've downloaded seem to have them.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 17th, 2010, 06:06 PM
Replies: 7
Views: 1,293
Posted By bopjo1
DMatt - did you work through the later chapters?...

DMatt - did you work through the later chapters? The online store and the bulletin board? I'm wondering it if it even worth the trouble.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 14th, 2010, 02:15 AM
Replies: 7
Views: 4,546
Posted By bopjo1
Nice work DMatt! I changed your code a little bit...

Nice work DMatt! I changed your code a little bit in cms_transact to pass values to mysql_real_escape_string() like this:


$title = (isset($_POST['title'])) ?...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 13th, 2010, 05:30 PM
Replies: 2
Views: 1,241
Posted By bopjo1
Ok, I got it to work using this code: case...

Ok, I got it to work using this code:

case 'Modify Account':
if (isset($_POST['user_id']) && isset($_POST['email']) && isset($_POST['access_level']) && isset($_POST['name'])) {
$user_id =...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 12th, 2010, 09:39 PM
Replies: 2
Views: 1,241
Posted By bopjo1
Chapter 13 - Modify User

If I login as administrator and try to modify a user's account I get this error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 9th, 2010, 04:12 PM
Replies: 7
Views: 1,293
Posted By bopjo1
oops...just solved those errors. I forgot the...

oops...just solved those errors. I forgot the code to submit the query.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 9th, 2010, 04:04 PM
Replies: 7
Views: 1,293
Posted By bopjo1
..but I am getting this errors: Warning:...

..but I am getting this errors:

Warning: mysql_num_rows() expects parameter 1 to be resource, null given in C:\xampp\htdocs\Tutorials\wrox\update_user.php on line 57

Warning:...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 9th, 2010, 03:57 PM
Replies: 7
Views: 1,293
Posted By bopjo1
Thanks for solving this. I just ran accross the...

Thanks for solving this. I just ran accross the same error today. Everytime I updated a user it updated every other user with the same info.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 6th, 2010, 08:59 PM
Replies: 13
Views: 1,666
Posted By bopjo1
Oh never mind, I finally figured it out! The...

Oh never mind, I finally figured it out! The MySQL code is correct. I left out a line in the char_transactions.php file that inserted info into the comic_zipcode table. That was screwing up the...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 6th, 2010, 06:16 PM
Replies: 13
Views: 1,666
Posted By bopjo1
Ok, I got rid of the AS and tried to run this...

Ok, I got rid of the AS and tried to run this code:

<?php
require 'includes/db.inc.php';
$db = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD) or die ('Unable to connect');...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 6th, 2010, 05:48 PM
Replies: 13
Views: 1,666
Posted By bopjo1
I isolated just the MySQL query exactly as...

I isolated just the MySQL query exactly as written (without the AS) and put it in another file with an echo statement to see if it works like this:

<?php
require 'includes/db.inc.php';
$db =...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 6th, 2010, 04:49 PM
Replies: 13
Views: 1,666
Posted By bopjo1
Did you remember if you used the exact MySQL code...

Did you remember if you used the exact MySQL code in your first post? (this one:)

$query = 'SELECT
c.alias, c.real_name, c.alignment,
l.address, z.city, z.state, z.zipcode_id ...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 6th, 2010, 03:52 PM
Replies: 13
Views: 1,666
Posted By bopjo1
Did you ever get this application to work? The...

Did you ever get this application to work? The only thing that doesn't work for me is if I click on one of the aliases in "list_characters.php" to edit. It goes to the edit page but none of the...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 October 3rd, 2010, 07:38 PM
Replies: 13
Views: 1,666
Posted By bopjo1
Why the hell would they put that in a beginners...

Why the hell would they put that in a beginners book, suddenly, without ANY explanation whatsoever? It really pisses me off!!! The same thing a few pages before, where they casually inject the...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 September 28th, 2010, 07:06 PM
Replies: 0
Views: 842
Posted By bopjo1
Chpt 6 Exercise

There's something I don't understand about this exercise. It says to create the edit code for the people table. If I allow edits to that table, doesn't it mess up the movie table? For example, if I...
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 September 27th, 2010, 05:33 PM
Replies: 6
Views: 968
Posted By bopjo1
you're welcome mate.

you're welcome mate.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 September 27th, 2010, 04:51 PM
Replies: 6
Views: 968
Posted By bopjo1
Just delete this: foreach ($row as $value) {...

Just delete this:

foreach ($row as $value) {

and this:

}

Keep the echo stuff in between.
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 September 27th, 2010, 10:12 AM
Replies: 0
Views: 786
Posted By bopjo1
Official errata page?

Hi folks,

I'm looking for the errata page for this book. The only one I've found deals with minor typos and grammar, not code. Is there a page for code errata?
Forum: BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 September 27th, 2010, 10:08 AM
Replies: 6
Views: 968
Posted By bopjo1
I just ran into this problem today. The foreach...

I just ran into this problem today. The foreach statement results in 2 listings of each item. Kinda disturbing they'd put this in the book. Don't they know better?

By the way, where *is* the...
Showing results 1 to 20 of 20

 


All times are GMT -4. The time now is 12:35 PM.


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