Problem in Database connection with ajax (1 post)

  1. feras.allaou
    Posted 7 years ago #

    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:
    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 ?


Topic Closed

This topic has been closed to new replies.

About this Topic