Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

amit srivastava


{ City } gaziabad
< Country > india
* Profession * developer
User No # 72429
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 24
Users Marked my Answers as Wrong # 9
Questions / { amit srivastava }
Questions Answers Category Views Company eMail




Answers / { amit srivastava }

Question { 8386 }

How to send Email using PHP with MySQL in Linux Server?..


Answer

include("Mail.php");
/* mail setup recipients, subject etc */
$recipients = "feedback@yourdot.com";
$headers["From"] = "user@somewhere.com";
$headers["To"] = "feedback@yourdot.com";
$headers["Subject"] = "User feedback";
$mailmsg = "Hello, This is a test.";
/* SMTP server name, port, user/passwd */
$smtpinfo["host"] = "smtp.mycorp.com";
$smtpinfo["port"] = "25";
$smtpinfo["auth"] = true;
$smtpinfo["username"] = "smtpusername";
$smtpinfo["password"] = "smtpPassword";
/* Create the mail object using the Mail::factory method */
$mail_object =& Mail::factory("smtp", $smtpinfo);
/* Ok send mail */
$mail_object->send($recipients, $headers, $mailmsg);
?>

Is This Answer Correct ?    1 Yes 0 No

Question { 4592 }

How to get tabels from database in php andd display it in
the table form using codelgniter?
plz help me


Answer

require "config.php"; //for connection with database
$query2=" SELECT * FROM tablename";
$result2=mysql_query($query2);
echo mysql_error();
$nume=mysql_num_rows($result2);
$bgcolor="#f1f1f1";
echo " cellspacing=2> ";
echo "";
echo "";
echo "";
echo "";
echo "";

  face='arial,verdana,helvetica'
color='#000000'>value1
  face='arial,verdana,helvetica'
color='#000000'>value2
  face='arial,verdana,helvetica'
color='#000000'>value3
  face='arial,verdana,helvetica'
color='#000000'>value4
  face='arial,verdana,helvetica'
color='#000000'>value5
Is This Answer Correct ?    4 Yes 5 No


Question { 12996 }

Where are magic tables stored ? Is it in the same database
where it is created ?


Answer

Magic tables stored in the same database

Is This Answer Correct ?    19 Yes 4 No