Re: [php-list] Having a problem with coding from a book

2006-05-04 Thread Ian R-P
php_mysql.dll already exists, and the semicolon was already deleted, and now for some reason, the MySQL5 service, won't start. It just keeps saying: Could not Start MySQL5 on Local Computer Error 1067: The process terminated unexpectedly and it was running last night before i went to sleep. O

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Nick Jones
gt; To: php-list@yahoogroups.com Sent: Wednesday, May 3, 2006 9:54:33 PM Subject: Re: [php-list] Having a problem with coding from a book    Ok well i found out my problem with: php_info() ?> that there isn't supposed to be a _ between php and info, so i got the results, saved the pa

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Ian R-P
Ok well i found out my problem with: php_info() ?> that there isn't supposed to be a _ between php and info, so i got the results, saved the page and it's located here: *http://home.cogeco.ca/~iarp/phpinfo.htm *hope that helps some.** -- Thanks Ian R-P Patience is a virtue. [Non-text port

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Ian R-P
locally, my computer is a part server, WinXP Pro as one OS and the other is Win Server 2003 Standard Edition, i use xp pro the most and thats where i use mysql. My user name is root(default) and i know my password works, because every time i start up MySQL Administration i enter in the same pas

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Bob
Hi Ian, - Original Message - From: "Ian R-P" <[EMAIL PROTECTED]> > $dbcnx = @mysql_connect('localhost','root','XX') or die('Unable to > connect ' . mysql_error()); > $dbcnx = @mysql_connect('iansroom','root','XX') or die('Unable to > connect ' . mysql_error()); > $dbcnx = @mysql_

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Tom Price
wrote: > > > > ----- Original Message ---- > From: Bob <[EMAIL PROTECTED]> > To: php-list@yahoogroups.com > Sent: Tuesday, May 2, 2006 3:00:36 PM > Subject: Re: [php-list] Having a problem with coding from a book > > Hi Michael, > > - Original Me

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Nick Jones
- Original Message From: Michael Sullivan <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Wednesday, May 3, 2006 1:36:22 PM Subject: Re: [php-list] Having a problem with coding from a book    On Tue, 2006-05-02 at 16:37 -0400, Ian R-P wrote: > Hey everyone, >

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Michael Sullivan
On Tue, 2006-05-02 at 16:37 -0400, Ian R-P wrote: > Hey everyone, > > It just won't connect, i've tried: > > $dbcnx = @mysql_connect('localhost','root','XX') or die('Unable to > connect ' . mysql_error()); > $dbcnx = @mysql_connect('iansroom','root','XX') or die('Unable to > connect '

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread James Keeline
--- Ian R-P <[EMAIL PROTECTED]> wrote: > It just won't connect, i've tried: > > $dbcnx = @mysql_connect('localhost','root','XX') or die('Unable to > connect ' . mysql_error()); > $dbcnx = @mysql_connect('iansroom','root','XX') or die('Unable to > connect ' . mysql_error()); > $dbcnx =

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Andrew Kamm
2006 14:14:35 -0500 > To: > Subject: Re: [php-list] Having a problem with coding from a book > > What's with this @mysql_connect stuff?  I use just mysql_connect.  Is > there a functional difference? Community email addresses:   Post message: php-list@yahoogroups.com  

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Ian R-P
ined function mysql_connect() in * c:\Inetpub\wwwroot\jokelist.php* on line *12 *line 12 is the $dbcnx = @mysq line* * On 5/2/06, Nick Jones <[EMAIL PROTECTED]> wrote: > > > > ----- Original Message ---- > From: Bob <[EMAIL PROTECTED]> > To: php-list@yahoo

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Bob
]> To: Sent: Tuesday, May 02, 2006 3:35 AM Subject: [php-list] Having a problem with coding from a book > Hey everyone > > Just got this book "Build Your Own Database Driven Website Using PHP & > MySQL" May 2005 Version. I'm getting throught it slowly. I just got

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Nick Jones
- Original Message From: Bob <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Tuesday, May 2, 2006 3:00:36 PM Subject: Re: [php-list] Having a problem with coding from a book Hi Michael, - Original Message - From: "Michael Sullivan" <[EMAIL PROTECT

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Bob
Hi Michael, - Original Message - From: "Michael Sullivan" <[EMAIL PROTECTED]> > What's with this @mysql_connect stuff? I use just mysql_connect. Is > there a functional difference? The @ sign suppresses errors, so that if the DB failed to connect, it wouldn't give out any help to any

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Michael Sullivan
> It looks like your code will only output something if there is an > error. So if you connect to the database OK and select the database > OK, then nothing should be coming back to the browser with the code > you have here. > > Plus, there's an easier way to do what you're doing and check for

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Nick Jones
- Original Message From: Ian R-P <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Monday, May 1, 2006 9:35:19 PM Subject: [php-list] Having a problem with coding from a book    Hey everyone Just got this book "Build Your Own Database Driven Website Using PHP &a

[php-list] Having a problem with coding from a book

2006-05-02 Thread Ian R-P
Hey everyone Just got this book "Build Your Own Database Driven Website Using PHP & MySQL" May 2005 Version. I'm getting throught it slowly. I just got to page 74, and ran the jokelist.php( http://localhost/Book_code/chapter4/jokelist.php) and everytime i run it, i get a blank white screen. I