Click to See Complete Forum and Search --> : mysql frustrations


Anon
02-22-2001, 04:15 AM
I'm an asp guy coming to php

here's my problem,
whenever I attempt to conect t a mysql db I get the following error

Parse error: parse error in C:wwwrootrandomsvrmyphpform1_prcs.php on line 26

I've teste this on a remote mysql sever as well as a local one ( i can connect to both using ado oledb and asp)

I've tried 2 diferent installations of pp4. One from php.net and one from php4win

I have the WROX beginning php4 book in my lap that is not helping

I have typed the script myself as well as copied it from a few web sources

I currently run win2K pro

any ideas?
Is there a way i can do a clean install of php, so i can start completely over?

Sorry for the long winded request....

ame12
02-22-2001, 05:49 AM
Did you go thru one of the PHP/MySQL tutorials? If not, check

http://hotwired.lycos.com/webmonkey/99/21/index2a.html

or

http://php.vamsi.net/mysql/index.php

or (a very quick overview on one page)

http://www.badblue.com/helpphpd.htm

vincente
02-23-2001, 03:14 AM
How about shoping the code-snippet that causes the problem?
A parse error is not Mysql related, it's PHP that does not understand your code.