Results 1 to 8 of 8
Hybrid View
-
20th Jan 2011, 01:50 PM #1MemberWebsite's:
sborg.usTried using single quotes?
Strings give a hell lot of trouble when used in switch-case statements. Try
PHP Code:$condition="OFF";
switch ($condition) {
case 'OFF' :
$condition="ON";
break;
case 'ON' :
$condition="OFF";
break;
}
I hope that helps.Halcyon Reviewed by Halcyon on . Anyone Who Knows PHP Programing I like to use a php function to switch between ON and OFF automatically upon the call. Of course something simple like $condition="OFF"; switch ($condition) { case "OFF" : $condition="ON"; break; case "ON" : $condition="OFF"; Rating: 5
-
21st Jan 2011, 06:53 PM #2MemberWebsite's:
litewarez.net litewarez.com triniwarez.comJoin Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Programing services
By dropboks in forum Completed TransactionsReplies: 0Last Post: 11th Mar 2012, 08:16 PM -
what programing language needed to code a bot
By YOUSEFN in forum General DiscussionReplies: 1Last Post: 25th Jan 2012, 04:16 PM -
Some help need in Java programing
By bapi21 in forum Web Development AreaReplies: 1Last Post: 10th Jul 2011, 01:08 PM -
TCP / Ip programing ?
By CatchItBaby in forum Web Development AreaReplies: 2Last Post: 8th Jul 2010, 02:38 PM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...