connection problem...

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
peacer
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2003 7:14 pm
Contact:

connection problem...

Post by peacer »

how do i know that the odbc or mysql connection is up...is there a way to check that the connection is up or what.........pls reply the ans asap...
thanx......
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

if you get no errors, you're connected
peacer
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2003 7:14 pm
Contact:

error msg....

Post by peacer »

i have recieve this errror msg....from the pc...

the msg is"Parse error: parse error, unexpected T_STRING in /home/stportal/testingform/table.php on line 11"

wat is this statement means.....
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

It means you have a syntax error. Either a missing or misplaced bracket, quote or semicolon. Something to that effect.
peacer
Forum Newbie
Posts: 5
Joined: Mon Dec 01, 2003 7:14 pm
Contact:

can Pyrite do an example for me to let me see

Post by peacer »

can u kindly show me hw u connect the mysql thingy ant.....thanx..... or anyone who knows....thanx alot
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

What are you asking? Sorry, don't understand you're english.
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Dude, get a new keyboard. Heck anyway, if you need us to help you, we'd need to see the script since the error is taking place in the script rather than before/after the connection - I'm guessing.

-Nay
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

A good advice would also be to actually look at the error-message:
"Parse error: parse error, unexpected T_STRING in /home/stportal/testingform/table.php on line 11"
If you can paste that line +/-3 above and below that, it would greatly help us answering your question.
Post Reply