hfcnew
Members-
Posts
14 -
Joined
-
Last visited
hfcnew's Achievements
Newbie (1/14)
0
Reputation
-
I'm actually on p.350. It said something about testing connection username and password by using them in the MySQL client, which I thought was a reference to p. 438. Anyhow, this is my code for mysqli_connect.php: But when I bring up its page, I get the following: As far as installing MySQL, I've just installed XAMPP on Windows 7 Professional. I thought XAMPP already has MySQL. Or have I misunderstood something?
-
I'm currently at step 5 on p.440. I got the "Enter password" prompt, but when I entered a password, I got the following response: It was really weird the way it was cut off like that. But try as I might, I could only expand the command prompt window vertically, not horizontally. So I'm not 100% sure what the messages are. So I tried using "yes" as a password and got this response: What am I doing wrong?
-
"book's Downloadable Code"
hfcnew replied to hfcnew's topic in PHP for the Web: Visual QuickStart Guide (5th Edition)
Thanks! -
Scripts 7.6 & 7.7 (P.182-185)
hfcnew replied to hfcnew's topic in PHP for the Web: Visual QuickStart Guide (5th Edition)
D'OH!! -
I'm currently at #12 on p. 208. It mentions "the concise.min.css and masthead.css scripts, available as part of the book's downloadable code". Did I miss something? The wording implies that these css scripts have already been done, but unless I missed something, it's the first I've heard of them. Is there somewhere like a website that I go to just download them or something?
-
Chapter 3 Pages 59 And 60
hfcnew replied to hfcnew's topic in PHP for the Web: Visual QuickStart Guide (5th Edition)
I used Chrome. -
Chapter 3: Handle_Calc.php
hfcnew replied to hfcnew's topic in PHP for the Web: Visual QuickStart Guide (5th Edition)
Oh geez! Thanks!! -
Chapter 3 Pages 59 And 60
hfcnew replied to hfcnew's topic in PHP for the Web: Visual QuickStart Guide (5th Edition)
Thanks! That worked! I admit I didn't know that I actually had to add "http://" to the URL first. I thought it was already there even if I didn't literally see it in the address bar. BUT even after I did add "http://" it still didn't work. Only after I tried Quinn's suggestion did it work. Is there a reason why I and Quinn have to do something like this but others don't? Are we using versions of certain software that's too old or something? -
I SWEAR I entered the code for lines 14-17 exactly as in the book: $title = $_POST['title']; $name = $_POST['name']; $response = $_POST['response']; $comments = $_POST['comments']; But the page I got was: Notice: Undefined index: title in C:\xampp\htdocs\tutorialspoint\handle_form.php on line 14 Notice: Undefined index: name in C:\xampp\htdocs\tutorialspoint\handle_form.php on line 15 Notice: Undefined index: response in C:\xampp\htdocs\tutorialspoint\handle_form.php on line 16 Notice: Undefined index: comments in C:\xampp\htdocs\tutorialspoint\handle_form.php on line 17 Thank you, , for your comments. You stated that you found this example to be '' and added: So I tried a suggestion I found online and altered the code like so: $title = isset($_POST['title']) ?$_POST['title'] : 0 ; $name = isset($_POST['name']) ? $_POST['name'] : '' ; $response = isset($_POST['response']) ? $_POST['response'] : '' ; $comments = isset($_POST['comments']) ? $_POST['comments'] : '' ; The page I got was the following: Thank you, 0 , for your comments. You stated that you found this example to be '' and added: Why isn't it working? P.S. Is there a way to attach files to posts as with emails? I've got screenshots of what I did.
-
Hello all. First time user here. I don't think anyone's asked this yet, but my apologies if there's already a thread about this that I've missed. I recently purchased a copy of this book ("PHP for the Web: Visual QuickStart Guide, 5th Edition" of course) and followed one of its recommendations: to go to www.apachefriends.org to download XAMPP. I went to that site, followed alll the links, followed its installation wizard, but every time I've tried to install XAMPP (the Windows 7.1.7 version. My OS is Windows 7 Professional) the wizard keeps giving me this pop-up: How can I fix this? Or can I just ignore this? I've asked this question in the Apache Friends Support Forum about a week ago, but no one's responded yet. I'm hoping Mr. Ullman or someone can help me with this.