Re_Boot Posted April 27, 2008 Report Share Posted April 27, 2008 Emm, sveiki atkal! :D Man vajag palidzibu... Man ieksh MYSQL ir kads ROW kur ir shads teksts 'ABOLS GROZA' un IF(ABOLS GROZA) vinjs nepielauj! Ka var pateikt ka starp ABOLS GROZA ir atstarpe? Abols...Groza, Abols-Groza,Abols*Groza, tjip kautka ta( bet neviens no shiem variantiem man nesanaca ) Link to comment Share on other sites More sharing options...
werd Posted April 27, 2008 Report Share Posted April 27, 2008 (edited) Emm, sveiki atkal! :D Man vajag palidzibu... Man ieksh MYSQL ir kads ROW kur ir shads teksts 'ABOLS GROZA' un IF(ABOLS GROZA) vinjs nepielauj! Ka var pateikt ka starp ABOLS GROZA ir atstarpe? Abols...Groza, Abols-Groza,Abols*Groza, tjip kautka ta( bet neviens no shiem variantiem man nesanaca ) Es darītu šādi: //šeit izvelkam datus no datubāzes $tavs_text = $row['text'];//tas ir tas ABOLS GROZA if($tavs_text = "ABOLS GROZA"){ echo "viss ok"; } else{ echo "kkas nav"; } Edited April 27, 2008 by phpjanis Link to comment Share on other sites More sharing options...
Re_Boot Posted April 27, 2008 Author Report Share Posted April 27, 2008 (edited) aa man pietruka "" :D Paldies. Edited April 27, 2008 by Re_Boot Link to comment Share on other sites More sharing options...
Aleksejs Posted April 28, 2008 Report Share Posted April 28, 2008 Piebilde: nevis if($tavs_text = "ABOLS GROZA"){ bet gan if($tavs_text == 'ABOLS GROZA'){ Link to comment Share on other sites More sharing options...
Recommended Posts