Conditional Statements in PhP
1. If, else and ifelse: <? PHP $num = 1; If ($num ==1) /*checks if the name is equal to 1, if not it will go to the...
1. If, else and ifelse: <? PHP $num = 1; If ($num ==1) /*checks if the name is equal to 1, if not it will go to the...
1. Variables: $ sign is used for defining the variables in PHP. eg: $var_1 =12. Here the datatype is automatically assigned. You don't have to...
I assume that you have lamp stack installed in your system. And if you have PHP version lower than 5.1, you have to you have to...
Database connection: Connecting mongoDB with php is really simple if your configured php with mongoDB using php driver. Assuming that you have already configured php with mongoDB...
Converting a .pem to .ppk format is a matter of one line code. First, you need to have puttygen installed on your system to convert pem to...
With the advent of cloud platform services, many PaaS providers offer free hosting service as their basic plan. This let users try out their platform and you...
Unlock full access to ScriptCrunch and see the entire library of paid-members only posts.
Try it for free for 7 days, cancel at anytime.
See our plans