The account info is correct, because I get other errors when I try this with the account info wrong.

I believe I might have a problem with the table I made, but it does look ok to me according to the book.

I got to wondering if there is a way to see the code going from php to the mysql server? They are on the same machine (a laptop) that has php (5.2.5), mysql (5) and apache (2.0) on Winxp with sp3. I have error logging turned on, but there is no log file.

Re: how to look at strings sent from php to mysql

akozlik, I was thinking the same thing. I can't understand why anyone trying to teach someone something, would present data in such an unreadable and obfuscated way.

I feel like it's that way with a lot of books and tutorials. They try to throw so much information at you at once, that people who are just starting have a hard time following along. That's why when I write my tutorials for DIC I write them to be as simple as possible. Throwing too much at once results in people just not understanding anything.

We should take all the great tutorials in DIC and make our own book. DIC for Dummies.

Re: how to look at strings sent from php to mysql

Posted 10 June 2008 - 01:36 AM

Quote

We should take all the great tutorials in DIC and make our own book. DIC for Dummies.

hehe.. i will order 1 rite nw.. ... its always gud to have a ref materials. ...

you ppl are rite abt most of the tutorials, if we start reading we wont understant evn a bit what they are trying to convey n its real hard to sort out good tutorial whn searching for somethin in web. its nt only the case of php. bt almost all the tutorials are like this. If we read some tuts we will feel tht the author had wrote them to show what all he knes rather than to teach others what they dont knw. Once i went thru a tutorail in CSS. ohh my god its still a nighmare to me..

But even worse is learning videos. they try to teach the entire php in just 6hrs. we wont even understant a bit, if we miss a min of the video thn we will lose the entrie flow. Also it wont stay in memory. After we saw the entire movie we will think what actually we learn. I had seen only one real gud learning video iin php. im nt mentioning its name, bt it was really gud n covers only the basics in a neat n clean way.