Intellect Software Ltd

    03-May-13 11:19:07 am

    In php and mysql its a common issue of facing problem in

    In PHP and MySQL it's a common issue of facing problem in sending special characters to mysql from php. To overcome this issue, mysql_real_escape_string() funtion can be a solution. Syntax of using this function in mysql and mysqli is slightly different. If mysql: -------------------------...

    Read More


    Mohammad Towhidul Islam

    03-May-13 12:07:00 am

    Selection if elseif else php number 77 if 90 100 echo

    <?php $number=77; if($number>=90 && $number<=100){ echo "A"; }else if($number>=80 && $number<=89){ echo "B"; }else if($number>=70 && $number<=79){ echo "C"; }else{ ...

    Read More


    Mohammad Towhidul Islam

    02-May-13 11:57:04 pm

    Selection if else php sex m if echo male else female

    <?php $sex="M"; if($sex=="M"){ echo "Male"; }else{ echo "Female"; } ?> ...

    Read More


    Mohammad Towhidul Islam

    02-May-13 11:56:36 pm

    Selection if php sex m if echo male

    ; <?php $sex="M"; if($sex=="M"){ echo "Male"; } ?> ...

    Read More


    Mohammad Towhidul Islam

    02-May-13 11:48:22 pm

    Control structure 1 sequence a sequence of statements i variable declaration

    1. Sequence: sequence of statements which could be: i. variable declaration/initialization/assignment, ii. function calling iii. selection (if or switch-case) iv. loop (for,while,do-while,foreach). 2. Selection a. If b. If-else c. If-elsei...

    Read More


    Mohammad Towhidul Islam

    20-Apr-13 11:28:23 pm

    Which of the following are valid php variables 1 foo 2

    Which of the following are valid PHP variables? 1.@$foo 2.&$variable 3.${0x0} 4.$variable 5.$0x0...

    Read More


    Mohammad Towhidul Islam

    20-Apr-13 11:27:42 pm

    Which of the following tags are an acceptable way to begin a

    Which of the following tags are an acceptable way to begin a PHP Code block? 1.<SCRIPT LANGUAGE="php"> 2.<! 3.<% 4.<?php 5.<?...

    Read More


    Mohammad Towhidul Islam

    13-Apr-13 04:11:34 pm

    প্রাইম নাম্বার বের করার php কোড php function isprime n prime

    <?php function isPrime($n){ $prime=true; $n=abs($n); if($n==1 || $n==0)return false; for($i=2;$i<=sqrt($n);$i++){ if($n%$i==0){ $prime=false; return $prime; } } return $prime; }//end ...

    Read More


    Mohammad Towhidul Islam

    15-Mar-13 12:49:53 am

    Php code will be here

    The getContext("2d") object is a built-in HTML5 object, with many properties and methods for drawing paths, boxes, circles, text, images, and more....

    Read More


First789Last
9 of 9 pages
Copyright © 2025. Powered by Intellect Software Ltd