Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 262
Line 775... Line 775...
775
     * @see DB_common::execute()
775
     * @see DB_common::execute()
776
     * @access public
776
     * @access public
777
     */
777
     */
778
    function prepare($query)
778
    function prepare($query)
779
    {
779
    {
780
        $tokens   = preg_split('/((?<!\\\)[&?!])/', $query, -1,
780
        $tokens   = preg_explode('/((?<!\\\)[&?!])/', $query, -1,
781
                               PREG_SPLIT_DELIM_CAPTURE);
781
                               PREG_SPLIT_DELIM_CAPTURE);
782
        $token     = 0;
782
        $token     = 0;
783
        $types     = array();
783
        $types     = array();
784
        $newtokens = array();
784
        $newtokens = array();