Jump to content

ron814

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ron814's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello I would like to know how to print data generated by PHP into a bond paper? is there a php function that i can use?
  2. thank you so much! better luck next time.
  3. What if I want to view the whole website page in the email message. What tag should I use?
  4. I mean that i want to send email message with plain text and embed a web hosted image.
  5. Hello I would like to know how to create an email message with web page displayed and all its links are able when the email message received. below here im using php mailer to send email message but i want to send plain text and webpage displayed/embed. require_once('class.phpmailer.php'); $message = $_POST['msg']; $subject = $_POST['subject']; $body = "<table><tr><td>$message</td></tr></table>"; $mail = new PHPMailer(); $mail->AddAddress('[email protected]'); $mail->SetFrom('[email protected]'); $mail->Subject = $subject; $mail->MsgHTML($body); $mail->Send(); I would be greatfull for your help.
  6. And I already added the user to the database but same error occurs.
  7. I tried to connect to other website and my code below are : $host = "$hostname"; $mysqlusername = "$username"; $mysqlpassword = "$password"; $mysqldatabase = "$mydatabase"; $mysqlconnection = mysql_connect($hostname,$mysqlusername,$mysqlpassword); mysql_select_db($mysqldatabase,$mysqlconnection); of course i supplied the right host name, username and password but still an error occur : Warning: mysql_connect() [function.mysql-connect]: Access denied for user '$username'@'$hostname' (using password: YES) in /home/public_html/test_directory/sampleFile.php on line 7 Is there someone who could help me to solve, I would be greatful for your help.
×
×
  • 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.