Jump to content

getmukesh

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by getmukesh

  1. Do you want PHP programer at any cost?

    This is Vishal (Mukesh) from India, a PHP Freelancer. I got 4 plus years of experience in PHP, ASP, javascript, MSSQL and MySQL.

     

    I can take both smaller tasks and bigger projects. Even if you need a small email script, I can do that also. I can work for a flat fee even for a bigger projects. I can compromise on the payment, but I ll assure you that I ll deliver you only the best quality work.

     

    Once again I mention that, I can compromise on the payment, If you are not satisfied with my service, then do not pay to me. I am confident, i will fully satisfy you and fulfill your requirements.

     

    Client References can be given on request.

     

    You can email me at

     

    Email : getvishal.angre@gmail.com

    Email : more.mukesh@gmail.com

     

     

    So that i can contact you or we can chat on any Messenger.

     

    Thanks for reading my mail

     

    Looking to work with you in near future.

     

    Have a Great day

    Vishal

     

  2. Replace this code in your code, i think, then you got solution

     

    while($row = mysql_fetch_array($result)){

      $message = "<h1>Real Estate Term of the Day</h1>";

        $message .= "<br>Date".$row['Date'];

        $message .=  "<br>Par1".$row['Par1'];

        $message .=  "<br>Par2".$row['Par2'];

        $message .=  "<br>Par3".$row['Par3'];

        $message .=  "<br>Par4".$row['Par4'];

        $message .=  "<br>Par5".$row['Par5'];

     

    }

     

    $to = "email";

    $subject = "Hi!";

    $body = $message;

     

  3. You can use this function for populate single field from table of spacific record

     

    function GetField($TableName,$InputFieldName,$InputFieldValue,$OutputFieldName)

    {

    $sql= "Select ".$OutputFieldName." from ".$TableName ." Where ". $InputFieldName."='".$InputFieldValue."'";

    $res=mysql_query($sql) or die(mysql_error()) ;

    $str="";

    if (mysql_num_rows($res) > 0 )

    {

    $res_arr=mysql_fetch_array($res);

    $str=$res_arr[0];

    }

    //echo $str;

    return $str;

    }

    -------------------------------------------------------------

    Another is, using this you will get two dimensional array.

     

    like  if you pass

    $arr = select_row("select * from employee");

    you can retrieve the fields like

     

    1st record == $arr[0]['name']

    2nd record == $arr[1]['name']

     

    Please check it, if you have any problem, please let me know..

     

     

     

    function select_row($sql)

    {

    if ($sql!="")

    {

    $result = mysql_query($sql) or die(mysql_error()) ;

    if ($result)

    {

    while($row = mysql_fetch_array($result))

    $data[] = $row;

    }

    return $data;

    }

    }

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.