stencilz Posted February 2, 2007 Report Posted February 2, 2007 ko vajag izdarīt ar lietotāja ievadītu tekstu pirms to saglabāt datubāzē? cik skatījos vienā tutoriālī tur bija rakstīts tikai šādi strip_tags($strings), vai ar to pietiek?
v3rb0 Posted February 2, 2007 Report Posted February 2, 2007 (edited) $strings = '"\''; un pasties vai pietiek :) Edited February 2, 2007 by v3rb0
Paulinjsh Posted February 2, 2007 Report Posted February 2, 2007 mysql_real_escape_string() vai addslashes()
Recommended Posts