| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2002-06-16 08:21 UTC] sander@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Mon Nov 03 03:00:01 2025 UTC | 
string str_replace(string needle, string str, string haystack); fails if haystack ends in needle // str_replace fail if string ends on #..# so ad <space> $QueryText = "Select count(*) from #TABLENAME# "; $QueryText = str_replace("#TABLENAME#", "extracts", $QueryText); echo "The Query was :".$QueryText."<br>";