stencilz Posted February 2, 2007 Report Share 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? Link to comment Share on other sites More sharing options...
v3rb0 Posted February 2, 2007 Report Share Posted February 2, 2007 (edited) $strings = '"\''; un pasties vai pietiek :) Edited February 2, 2007 by v3rb0 Link to comment Share on other sites More sharing options...
stencilz Posted February 2, 2007 Author Report Share Posted February 2, 2007 vispār nekas nesaglabājas db Link to comment Share on other sites More sharing options...
Paulinjsh Posted February 2, 2007 Report Share Posted February 2, 2007 mysql_real_escape_string() vai addslashes() Link to comment Share on other sites More sharing options...
andrisp Posted February 2, 2007 Report Share Posted February 2, 2007 Ieteicamāk pirmais variants :) Link to comment Share on other sites More sharing options...
Recommended Posts