Profile cover photo
Profile photo
Coders Unlimited
4 followers
4 followers
About
Coders Unlimited's posts

Post has attachment
Try out TranslateSMS, a free app to send SMS in many languages. Connect with friends, family or customers in their language by using Translate SMS. It is used in more than 130+ countries already. Try it out 
https://play.google.com/store/apps/details?id=in.codersunlimited.translatesms
#Translate   #SMSTranslation #Translation   #AndroidApp   #App  
Photo

Php Tip:  Single Quotes and Double Quotes are Very Different

It is not recommend to use " (double quotes) when programming with PHP. Always use ‘ (single quotes) unless you need the features of " (double quotes). You might think it’s much easier to write code as:

echo "Today is the $day of $month";
However, using single quotes forces variables to be outside the quotes; instead, you must use the period (.) to combine strings. It makes for faster coding but can be more difficult for other programmers to read. Let’s look at what would happen if we put an associative array value in the previous code:

echo "Today is the $date['day'] of $date['month']";
You would receive a parse error and it would be harder for another team member to read. Two correct ways to write that line of code would be:

echo 'Today is the ' . $date['day'] . ' of ' . $date['month'];
and

echo "Today is the {$date['day']} of {$date['month']}";
These might not look as pretty as the original code, but syntactically they are both correct. Additionally, I believe the first method, with single quotes, is easier to read.

The use of single and double quotes also applies to associative arrays. Consider this code:

$SESSION[team] = $SESSION["old_team"];
One main problem exists in that line of code. The associative entry team on the left side needs to have single quotes around it; otherwise, PHP will think it’s a define and give you a warning message (only if error reporting is at maximum). I would recommend that the code should look like this:

$SESSION['team'] = $SESSION['old_team'];
I wish I’d known the difference between single and double quotes as they pertain to strings when I first learned PHP.

Post has attachment
Here is an app that automates the task of turning your phone to silent when you reach a location. It also send out a SMS/Text to you contact with a custom message. Very useful for Student, Doctors, Office Goers etc.  Check out this free app at Google Play Store ( http://goo.gl/9lWNIx ) or at Coders Unlimited App Store ( http://codersunlimited.in ).
Photo

Post has attachment
Are you answering calls or responding to sms while driving? Did you know an accident occurs every 19 minutes due to distracted driving? We built an app to help avoid distracted driving, try it out and share it with your friends and help save a few lives. Best of all its Free and available at http://goo.gl/1kmMBC or our Apps Store at http://CodersUnlimited.in
Photo

Post has attachment
The all new Coders Unlimited Apps Store is live.
Coders Unlimited Apps Store features many of our innovative consumer apps as well as some other useful apps that any typical consumer may need. At present most of our apps are Android Apps. 

Post has attachment
Coders Unlimited Training site has been revamped. Check it out

Post has attachment
Wait while more posts are being loaded