Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
peacer
Forum Newbie
Posts: 5 Joined: Mon Dec 01, 2003 7:14 pm
Contact:
Post
by peacer » Tue Dec 02, 2003 8:38 pm
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 » Tue Dec 02, 2003 8:53 pm
if you get no errors, you're connected
peacer
Forum Newbie
Posts: 5 Joined: Mon Dec 01, 2003 7:14 pm
Contact:
Post
by peacer » Tue Dec 02, 2003 8:56 pm
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.....
Pyrite
Forum Regular
Posts: 769 Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:
Post
by Pyrite » Tue Dec 02, 2003 9:30 pm
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:
Post
by peacer » Tue Dec 02, 2003 11:01 pm
can u kindly show me hw u connect the mysql thingy ant.....thanx..... or anyone who knows....thanx alot
Pyrite
Forum Regular
Posts: 769 Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:
Post
by Pyrite » Wed Dec 03, 2003 4:22 am
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 » Wed Dec 03, 2003 4:30 am
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
JAM
DevNet Resident
Posts: 2101 Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:
Post
by JAM » Wed Dec 03, 2003 12:00 pm
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.