Kaklz Posted February 27, 2009 Report Posted February 27, 2009 paņem ar min() funkciju. teiksim $skaitlis = min(100, $tavs_apreekjinaatais). Ja tavs apreekjinaatais buus teiksim 87, tad $skaitlis buus 87. ja tavs apreekjinaatais buus 500, tad $skaitlis buus 100. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.