iall Posted January 11, 2008 Report Share Posted January 11, 2008 Hello , pie formas vēlos pievienot vārdu kurš jāieraksta komentējot. $vards = “dibens”; if ( $vards == “dibens” ) { echo “Viss ok!“; } echo “Njihuja ,taa neies cauri”; Pieņemsim es $vards vietā nevaru rakstīt $_POST['vards'] ?Zinu ,ka noliksiet mani tagad par elementāru lietu nezināšanu. (Guilty) Manuālī diez cik daudz nebija par IF. Link to comment Share on other sites More sharing options...
Vebers Posted January 11, 2008 Report Share Posted January 11, 2008 $vards = “dibens”; if ( $_POST['vards'] == $vards ) { echo “Viss ok!“; } else { echo “Njihuja ,taa neies cauri”; } Link to comment Share on other sites More sharing options...
v3rb0 Posted January 11, 2008 Report Share Posted January 11, 2008 ja tiešām ar manuāli nepietika, tad lasi par else wikipēdijā http://en.wikipedia.org/wiki/Conditional_%28programming%29 Link to comment Share on other sites More sharing options...
andrisp Posted January 11, 2008 Report Share Posted January 11, 2008 Kas īsti par problēmu vispār ? Link to comment Share on other sites More sharing options...
iall Posted January 11, 2008 Author Report Share Posted January 11, 2008 Viss ok ,paldies! Link to comment Share on other sites More sharing options...
ray Posted January 11, 2008 Report Share Posted January 11, 2008 ja nelasa manuāli, tad protams liekas, ka manuālī nekā nav:) Link to comment Share on other sites More sharing options...
Recommended Posts