Jump to content

[SOLVED] sanitize() ...?


elis

Recommended Posts

That's weird. I found it by mistake here:

http://us3.php.net/manual/en/function.mysql-real-escape-string.php

In the user comments several people mentioned the function but like you said, it seems like doesn't exist.

 

Here's a sample code somebody posted

 

<?php
function sanitize($input){
    if(is_array($input)){
        foreach($input as $k=>$i){
            $output[$k]=sanitize($i);
        }

I'm still learning PHP so the chances that I misunderstood this is extremely high.

Link to comment
https://forums.phpfreaks.com/topic/77394-solved-sanitize/#findComment-391798
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.