PHP and MySQL syntax: Difference between revisions

Jump to navigation Jump to search
m
Line 343: Line 343:


== List of binary safe functions ==
== List of binary safe functions ==
{| class="wikitable"
{| class="wikitable sortable"
|-
|-
! Goal !! Binary safe function !! Binary NOT safe
! Goal !! Binary safe function !! Binary NOT safe
Line 352: Line 352:
|-
|-
| "Replace all occurrences of the search string with the replacement string" || [https://www.php.net/manual/en/function.str-replace.php str_replace] ||  
| "Replace all occurrences of the search string with the replacement string" || [https://www.php.net/manual/en/function.str-replace.php str_replace] ||  
|-
| "Find the position of the first occurrence of a substring in a string" || [https://php.net/manual/en/function.strpos.php strpos] ||
|-
|-
| 範例 || 範例 || 範例
| 範例 || 範例 || 範例

Navigation menu