Wrox Programmer Forums
| 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 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
Showing results 1 to 25 of 41
Search took 0.01 seconds.
Search: Posts Made By: BuzzLY
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 5th, 2004, 05:17 AM
Replies: 7
Views: 1,625
Posted By BuzzLY
No, you should use single quotes. The only time...

No, you should use single quotes. The only time you should use double quotes is if you have to do something "special" inside them -- for instance, you want PHP to correctly use the variable "in...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 5th, 2004, 05:05 AM
Replies: 5
Views: 2,000
Posted By BuzzLY
There are many ways to do it in Javascript, but...

There are many ways to do it in Javascript, but this really isn't a Javascript forum. It's not even a PHP forum, but a forum to help users having trouble with code and errata in the book. I suggest...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 3rd, 2004, 01:29 PM
Replies: 19
Views: 2,803
Posted By BuzzLY
Your page is probably just cached. Hit refresh...

Your page is probably just cached. Hit refresh in your browser and the page should reload with the current contents.

If your page is still blank when you load it and refresh it, then perhaps...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 2nd, 2004, 05:00 PM
Replies: 13
Views: 1,887
Posted By BuzzLY
put a copy of the .dll in your Windows system32...

put a copy of the .dll in your Windows system32 directory, and restart Apache.

Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 2nd, 2004, 04:58 PM
Replies: 7
Views: 1,497
Posted By BuzzLY
It doesn't omit 50% of the articles it finds. ...

It doesn't omit 50% of the articles it finds. The 50% rule means that if over 50% of the articles contain the search term you are looking for in full text searches only, then that term is ignored...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 28th, 2004, 05:45 PM
Replies: 5
Views: 2,000
Posted By BuzzLY
Nice catch... It seems that in an earlier version...

Nice catch... It seems that in an earlier version of reviewarticle.php, we used Javascript to capture the click event of the buttons (such as Delete), and validate the user's intentions. That was...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 28th, 2004, 05:30 PM
Replies: 7
Views: 1,497
Posted By BuzzLY
OK, I have tested those SQL statements on my...

OK, I have tested those SQL statements on my server, and they work properly. The only thing I can think that would cause your server to return 1064 (parse error) is that it is an older version of...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 28th, 2004, 05:07 PM
Replies: 5
Views: 2,029
Posted By BuzzLY
You are half correct. First, there is no missing...

You are half correct. First, there is no missing bracket. You'll find the correct closing bracket on line 25 of the code. However, you are correct about missing the email during creation. I had...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 21st, 2004, 05:44 PM
Replies: 2
Views: 2,415
Posted By BuzzLY
It depends on the "error_reporting" setting in...

It depends on the "error_reporting" setting in php.ini. czambran, you probably have yours set to E_ALL & ~E_NOTICE (which I believe is the default), which only shows fatal errors and...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 21st, 2004, 05:27 PM
Replies: 7
Views: 1,497
Posted By BuzzLY
1. How much text are you submitting? Is it short...

1. How much text are you submitting? Is it short enough to paste here so we can look at it? My guess is that there might be a character in the text that SQL doesn't like. If I can look at the...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 17th, 2004, 02:43 AM
Replies: 2
Views: 1,880
Posted By BuzzLY
In truth, any of the conditions that require a...

In truth, any of the conditions that require a user to be logged in should check for $_SESSION['user_id']. However, you must try to remember that the applications in the book leave a LOT of room for...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 17th, 2004, 02:22 AM
Replies: 10
Views: 3,185
Posted By BuzzLY
Or: $lines = array(179, 189, 288, 289); ...

Or:
$lines = array(179, 189, 288, 289);
foreach ($lines as $line_number) {
echo "line $line_number: change the variable $quan to $qty";
}

/me ducks and runs
:D

Michael K. Glass
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 16th, 2004, 10:17 AM
Replies: 5
Views: 1,980
Posted By BuzzLY
Great :D Glad I could help. Michael K....

Great :D

Glad I could help.

Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 14th, 2004, 10:32 PM
Replies: 6
Views: 3,416
Posted By BuzzLY
There nothing wrong with the programs, with the...

There nothing wrong with the programs, with the exception of the open/closing quotes in each one. You should be using standard quotes, not the stylized ones shown. Replace the echo line with:
...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 14th, 2004, 08:40 PM
Replies: 6
Views: 3,416
Posted By BuzzLY
Can you show us the code for the page you are...

Can you show us the code for the page you are trying to view? Copy/paste the entire page, including the HTML.

Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 13th, 2004, 05:02 AM
Replies: 4
Views: 992
Posted By BuzzLY
I think he meant the other hot chick on the...

I think he meant the other hot chick on the cover...

Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 12th, 2004, 06:49 PM
Replies: 5
Views: 1,691
Posted By BuzzLY
Hmm... let me test it on my server, and I'll get...

Hmm... let me test it on my server, and I'll get back to you.
------------
Ok, I have looked at the code and mucked around with it. It seems there is a problem with this line in...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 12th, 2004, 05:21 PM
Replies: 7
Views: 2,858
Posted By BuzzLY
Try using mysql>mysql -u root I'm not sure...

Try using mysql>mysql -u root

I'm not sure why you are getting that error - I don't get the error myself. But if you use the root username, you should be able to get into mysql and start...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 12th, 2004, 04:24 PM
Replies: 5
Views: 2,942
Posted By BuzzLY
Ah, ok... the problem is that IIS does not...

Ah, ok... the problem is that IIS does not support REQUEST_URI. Yay Microsoft :(

REQUEST_URI returns the entire path, filename, and query_string from the URL. If it's not available, we'll...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 12th, 2004, 04:52 AM
Replies: 5
Views: 2,942
Posted By BuzzLY
It's hard to say if you don't post an example. ...

It's hard to say if you don't post an example. How is it not working? Are you getting any error messages? Can you post the code you are using so we can take a look at it?

BuzzLY
aka Michael K....
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 12th, 2004, 04:42 AM
Replies: 5
Views: 1,691
Posted By BuzzLY
As it states on page 392/393 of the book: ...

As it states on page 392/393 of the book:



What that is telling you is that if you pass in a period (.) as your stop character ($s_chr), then if $s_cnt = 2, it will trim your string to the...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 11th, 2004, 06:11 AM
Replies: 3
Views: 1,003
Posted By BuzzLY
extract is a "quick and dirty" way to take all of...

extract is a "quick and dirty" way to take all of the values in an associative array, and put them into variables with the same name as the keys. For example, let's say you have a database of...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 9th, 2004, 12:14 PM
Replies: 13
Views: 1,232
Posted By BuzzLY
LOL BuzzLY aka Michael K. Glass Author,...

LOL

BuzzLY
aka Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 9th, 2004, 12:11 PM
Replies: 13
Views: 1,232
Posted By BuzzLY
Yeah... I'm surprised the tech editor didn't...

Yeah... I'm surprised the tech editor didn't catch that one, aren't you?[/s]

BuzzLY
aka Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 7th, 2004, 04:09 PM
Replies: 4
Views: 992
Posted By BuzzLY
Who the heck are you? BuzzLY aka Michael...

Who the heck are you?

BuzzLY
aka Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development
Showing results 1 to 25 of 41

 




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