0

Php mysql connection from script

I have been facing this problem when using Ubuntu server (lamp) for local development, the problem is when I try to connect to db from Php scripts the queries won't work, as when working with phpmyadmin the queries work without problem. How can I solve this problem?

11th Mar 2018, 11:07 PM
Hassan Issa Hassan
Hassan Issa Hassan - avatar
5 Answers
+ 2
Show me your query
12th Mar 2018, 12:17 PM
Toni Isotalo
Toni Isotalo - avatar
0
Are you executing queries capitalized?
11th Mar 2018, 11:40 PM
voidneo
0
no they are not capitalized
11th Mar 2018, 11:45 PM
Hassan Issa Hassan
Hassan Issa Hassan - avatar
0
I've heard that on linux not capitalizing instructions might cause errors. I have only used it on windows so I can't tell
12th Mar 2018, 5:26 AM
voidneo
0
"select * from people"
12th Mar 2018, 12:34 PM
Hassan Issa Hassan
Hassan Issa Hassan - avatar