2017/2/22 13:53
mjoel
Quite a regular
Posts: 325
Since: 2006/12/9
2017/2/22 14:35
aerograf
Posts: 214
Since: 2017/1/7 1
2017/2/22 22:20
Mamba
Moderator
Posts: 11527
Since: 2004/4/23
2017/2/23 4:43
geekwright
Posts: 314
Since: 2010/10/15
mjoel wrote:since mysql_real_escape_string is deprecatedif i have this codele="color: #000000"><?php $employee_id = mysql_real_escape_string($_GET['id']);what should i replace it with
2017/2/23 14:34
geekwright wrote:The BEST way is to do this:le="color: #000000"><?php $employee_id = $xoopsDB->escape($_GET['id']);That will continue to work no matter what the underlying database driver is in the future.Quote:mjoel wrote:since mysql_real_escape_string is deprecatedif i have this codele="color: #000000"><?php $employee_id = mysql_real_escape_string($_GET['id']);what should i replace it with
Advanced Search