+ 1

Is there any easy to use librart for php to work with mysql ? [Need Suggestions]

i am having trouble connecting to MySQL database with php. the queries and mysqli connection (especially this "->" ) frustrates me a lot. it's also very tough to check for errors etc. I am already trying MEDOO library but that too isn't working great for me. so if you guys know any easy to use library, plz recommend me thanks.

13th Jun 2018, 5:18 PM
Aman Kumar
Aman Kumar - avatar
7 Answers
+ 2
what is your new problem , tell me ,I can definitely solve it..
19th Jun 2018, 1:59 PM
Kapil Sharma
Kapil Sharma - avatar
+ 1
I m sorry Aman.. I am really very sorry..
20th Jun 2018, 2:47 AM
Kapil Sharma
Kapil Sharma - avatar
+ 1
For not solving your problem..
20th Jun 2018, 7:39 AM
Kapil Sharma
Kapil Sharma - avatar
0
yes..it is
19th Jun 2018, 8:49 AM
Kapil Sharma
Kapil Sharma - avatar
0
Kapil Sharma ?? btw my problem is solved now also got new problem
19th Jun 2018, 1:50 PM
Aman Kumar
Aman Kumar - avatar
0
Kapil Sharma oh really ! it's in PHP actually. I am creating a social site (like Facebook) for my own practice of coding skills. now I am having problem with message storing and retrieving systems. the main problem is that if number of users is more , then on each sent message my php script will open a connection to my SQL database and query the table and store the message and close the connection. and same on message receiving too. the problem is that the frequency of queries will be soo high that repeatedly opening and closing the MySQL connection will surely blow the server (and it's slow) . now how can I fix that I need a php script which can continuously run on the server and create a persistent connection to the database and at the same time being able to serve the query to other php scripts or respond to ajax upon request. this will lower the burden on server. now how can i accomplish that ? i am using php only in the server side also i am not good at any other server side language.
19th Jun 2018, 2:11 PM
Aman Kumar
Aman Kumar - avatar
20th Jun 2018, 5:58 AM
Aman Kumar
Aman Kumar - avatar