Problem in Database connection with ajax
Dear Sirs ,
I’m facing a problem which is making me crazy 🙁 . I’m programming a new plug-in using AJAX so I created two pages one for the plug-in and the other is for AJAX and I included the AJAX page in my plug-in page .
The problem is when trying to do a query in the ajax page a problem appears for me
Error: invalid flag after regular expression Source File: http://127.0.0.1/wp/wp-includes/js/tw-sack.js?ver=1.6.1 Line: 120, Column: 11 Source Code: <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'ODBC'@'localhost' (using password: NO) in <b>C:\AppServ\www\wp\wp-content\plugins\ferasws-contactus\ajax.php</b> on line <b>45</b><br />
It seems that this page is not connected to the database ! so what should I do ?
- The topic ‘Problem in Database connection with ajax’ is closed to new replies.