mysql_real_escape_string() problem

mysql_real_escape_string() problem

aristidisaristidis Posts: 8Questions: 2Answers: 0

i used server-side processing and i took this fault because of "mysql_real_escape_string()" usage
<b>Warning</b>: mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: A link to the server could not be established in <b>/home/epithimo/public_html/photovoltaika/photo1/memory_table/php/table.mem_symbols.php</b> on line <b>30</b><br />
{"id":"row_267","error":"","fieldErrors":[],"data":[],"row":{"DT_RowId":"row_267","description":"","memory":"M3333","type":"L","plc":"P","id":"267"}}
please help.

Answers

  • allanallan Posts: 64,020Questions: 1Answers: 10,555 Site admin

    What script are you using that uses mysql_real_escape_string? That function has been removed for the latest versions of PHP and as far as I am aware, non of the demo code DataTables currently ships with uses that function.

    Allan

This discussion has been closed.