very basic code which we use offten in our day to day development and sometime we stucked . i write those issue here with simple solution.
You will get codes of html, css, javascript, jquery, json,ajax, node.js, vue.js, nuxt.js, php and Mysql
Saturday, August 17, 2013
check two variable containing strings are same or not
<?php
$t=strcmp("dabc","abc");
if($t==0)
echo 'both string are same';
else
echo 'string are not same';
?>
No comments:
Post a Comment