Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6579023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:50:45+00:00 2026-05-25T15:50:45+00:00

$message = ‘ <html> <head> <title>Haftalık Rapor</title> </head> <body> <table border=4 width=100% cellpadding=2 cellspacing=3>

  • 0
$message = '
<html>
<head>
 <title>Haftalık Rapor</title>
</head>
<body>
 <table border="4" width="100%" cellpadding="2" cellspacing="3">
<tr>
   <td bgcolor="#FF0000" align="center">Plaka no:</td>
 <td bgcolor="#FF0000" align="center">Aracin Cinsi:</td>
 <td bgcolor="#FF0000" align="center">Sikayet edilme sebebi:</td>
 <td bgcolor="#FF0000" align="center">Tarih:</td>
 </tr> 
     $con = mysql_connect("", "", "", "","");
        if (!$con){die('Could not connect: ' . mysql_error());}
            mysql_select_db("", $con);
    $bilgi= mysql_query("SELECT plakano,aciklama,secim,tarih FROM bad ORDER BY tarih ASC"); 
    while($sutun= mysql_fetch_array($bilgi))
    {  
        echo "<tr>";
        echo "<td align='center'> ".$sutun["plakano"]."</td>";
        echo "<td align='center'> ".$sutun["secim"]."</td>";
        echo "<td align='center'> ".$sutun["aciklama"]."</td>";
        echo "<td align='center'> ".$sutun["tarih"]."</td>";
        echo "</tr>";
    }

 ';

this is a mail example.But i want the message of the mail taken from the database can anybody help me this code has a syntax but not sure how to solve it .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:50:46+00:00Added an answer on May 25, 2026 at 3:50 pm
    $message = '
    <html>
    <head>
     <title>Haftalık Rapor</title>
    </head>
    <body>
     <table border="4" width="100%" cellpadding="2" cellspacing="3">
    <tr>
       <td bgcolor="#FF0000" align="center">Plaka no:</td>
     <td bgcolor="#FF0000" align="center">Aracin Cinsi:</td>
     <td bgcolor="#FF0000" align="center">Sikayet edilme sebebi:</td>
     <td bgcolor="#FF0000" align="center">Tarih:</td>
     </tr> ';
         $con = mysql_connect("", "", "", "","");
            if (!$con){die('Could not connect: ' . mysql_error());}
                mysql_select_db("", $con);
        $bilgi= mysql_query("SELECT plakano,aciklama,secim,tarih FROM bad ORDER BY tarih ASC"); 
        while($sutun= mysql_fetch_array($bilgi))
        {  
            $message .= "<tr>";
            $message .= "<td align='center'> ".$sutun["plakano"]."</td>";
            $message .= "<td align='center'> ".$sutun["secim"]."</td>";
            $message .= "<td align='center'> ".$sutun["aciklama"]."</td>";
            $message .= "<td align='center'> ".$sutun["tarih"]."</td>";
            $message .= "</tr>";
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

class Message(models.Model): subject = models.CharField(max_length=100) pub_date = models.DateTimeField(default=datetime.now()) class Topic(models.Model): title = models.CharField(max_length=100) message
I saved the whole message as xx.eml, but some mails body tells that mail
A message box periodically pops up with the title Event Notification Application and the
MailMessage message = new MailMessage(email.From, email.To, email.Subject, email.Body); message.BodyEncoding = Encoding.GetEncoding(utf-8); string body =
message table id user_id| message 1 1 | this is my cruel message 2
message.Body = Message: + ex.Message +Environment.NewLine + Data:+ ex.Data + Environment.NewLine + Stack Trace:
MailMessage message = new MailMessage(email.From, email.To, email.Subject, email.Body); but i can not see name
Error message: fatal: git checkout: updating paths is incompatible with switching branches/forcing How to
Is message passing taking place when calling a function with no input? i.e. with:
For general protocol message exchange, which can tolerate some packet loss. How much more

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.