Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 109,727 PHP Programmers for FREE! Ask your question and get quick answers from experts. There are 1,863 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Creation of inbox

 
Reply to this topicStart new topic

Creation of inbox, inbox creation

ishlux
post 18 Jul, 2008 - 03:34 AM
Post #1


New D.I.C Head

*
Joined: 18 Jul, 2008
Posts: 7

Hi

I want to create an inbox containing from,date, and subject

i want the code like how to do it,,,,,,,i have just created an front end design
i want the entire code pls.........i have done little bit just created an static table and able retrive . thats it pls suggest me


Thanks
User is offlineProfile CardPM

Go to the top of the page


gabehabe
post 18 Jul, 2008 - 04:13 AM
Post #2


T3H R0XX0R!

Group Icon
Joined: 6 Feb, 2008
Posts: 2,644



Thanked 51 times

Dream Kudos: 1575

Expert In: (X)HTML, CSS, Batch Scripting, C, C++

My Contributions


"I want the code" will get you nowhere.

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM

Go to the top of the page

ishlux
post 18 Jul, 2008 - 04:19 AM
Post #3


New D.I.C Head

*
Joined: 18 Jul, 2008
Posts: 7

CODE


<?
    include("header.php")
?>    

<table width="960" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
       <td width="100%"><? include("top_banner.php") ?></td>                
</tr>
<tr>
        <td align="center" height="48" width="100%"><? include("horizental_menu.php") ?></td>
</tr>

<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0" class="whitesite" >
                        <!-- header -->
<tr><td>        
    <table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr><td background="images/button_bot.jpg" width="100%" height="5" colspan="3"></td></tr>
</table>
</td></tr>

                        <!-- content -->
<tr><td width="100%">
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td width="5">&nbsp;</td>
<td width="207" valign="top" class="" align="center">
                        <!-- left-table -->
<table cellpadding="0" cellspacing="0" width="207" border="0" align="center">

<tr >

                             <td alt="" class="headtitle1" background="images/leftnav_title.gif" height="31" width="100%">Responses <span class="mandi">what is this?</span> </td>
                            
                             </tr>

                          <tr>
                             <td align="center" background="images/leftnav_bg.gif" width="100%">
                               <table align="center" border="0" cellpadding="1" cellspacing="0" width="190">
                                 <tbody>
                                   <tr>
                                      <td height="1"></td></tr>
                                                                   <tr><td>&nbsp;</td></tr>

                                   <tr>
                                       <td width="15"></td>
                                       <td width="175"><a href="personal_info.php?s=cus" title="Personal Info" class="leftnav"><u><b>Mailbox</b></u></a></td>
                                   </tr>
                                  
                                   <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="contractor_mail_action_contents.php" title="Change Password" class="leftnav">Inbox( )</a></td>
                                   </tr>
                                  
                                   <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a title="Logout" href="lagoutcu.php" class="leftnav">Sent</a></td>
                                   </tr>
                                    <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a title="Logout" href="lagoutcu.php" class="leftnav">Trash</a></td>
                                   </tr>
                                   <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a title="Logout" href="lagoutcu.php" class="leftnav">Logout</a></td>
                                   </tr>
                                       <tr><td>&nbsp;</td></tr>
                                   <tr>
                                        <td style="background-repeat: repeat-x;" colspan="3" align="center" background="images/dot.jpg" height="1" width="200"></td></tr>
                                                                     <tr><td>&nbsp;</td></tr>

                                     <tr>
                                       <td width="15"></td>
                                       <td width="175"><a href="personal_info.php?s=cus" title="Personal Info" class="leftnav"><b><u>Account Settings</u></b></a></td>
                                   </tr>

                                         <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="change_pass.php?s=cus" title="Change Password" class="leftnav">Additional Info</a></td>
                                   </tr>

                                         <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="change_pass.php?s=cus" title="Change Password" class="leftnav">Address Change request</a></td>
                                      </tr>
                                         <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="contractor_changepassword.php" title="Change Password" class="leftnav">Change Password</a></td>
                                        </tr>
                                         <tr><td>&nbsp;</td></tr>
                                    <tr>
                                        <td style="background-repeat: repeat-x;" colspan="3" align="center" background="images/dot.jpg" height="1" width="200"></td></tr>
                                     <tr>
                                                                 <tr><td>&nbsp;</td></tr>

                                      
                                    <tr>
                                       <td width="15"></td>
                                       <td width="175"><a href="personal_info.php?s=cus" title="Personal Info" class="leftnav"><b><u>Response Summary</b></a></td>
                                   </tr>

                                     <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="change_pass.php?s=cus" title="Change Password" class="leftnav">Requests recieved</a></td>
                                   </tr>

                                         <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="change_pass.php?s=cus" title="Change Password" class="leftnav">Response sent</a></td>
                                      </tr>
                                         <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="change_pass.php?s=cus" title="Change Password" class="leftnav">Activity summary</a></td>
                                   </tr>
                                         <tr>
                                       <td><img src="images/buldot.gif" alt="" height="6" width="6"></td>
                                       <td><a href="change_pass.php?s=cus" title="Change Password" class="leftnav">Conversion factor</a></td>
                                   </tr>
                                                                <tr><td>&nbsp;</td></tr>
                                                             <tr><td>&nbsp;</td></tr>
                                                             <tr><td>&nbsp;</td></tr>
                                                             <tr><td>&nbsp;</td></tr>

    

</tbody>
                               </table>
                             </td>
                          </tr>
                          <tr>
                                 <td><img src="images/leftnav_bot.gif" alt="" height="7" width="207"></td>

                          </tr>

</table>
</td>
<td width="5">&nbsp;</td>
                    <!--  -->
<td valign="top">
                <!--inbox table  -->

<table cellpadding="0" cellspacing="0" width="100%" border="0" height="50%">
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td><img src="images/box_left.gif" width="10" height="31" alt=""></td>
<td nowrap  background="images/box_topbg.gif" width="100%" height="31">
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td style="padding-left:5px;" class="headtitle">Account Summary</td>
<td align="right" colspan="3" > Welcome</td>
</tr>
</table>
<td><img src="images/box_right.gif" width="10" height="31" alt=""></td>
</tr>
<tr>
<td background="images/box_leftbg.gif" width="10"></td>
<td bgcolor="#FFFFFF">

<table cellpadding="0" cellspacing="0" width="100%" border="0">
                                                
                                                                                                
                                                <tr><td height="30"> <span style="color:005D95"><strong> Current folder:Inbox</strong></span></td></tr>
                                                <tr><td align="right" colspan="3" style="color:red"> <span class="error_text"></span>  <span class="mandi"></span></td></tr>
                                                <tr><td height="15"></td></tr>
                                                <form name='form2' method='post' action="contractor.php" onsubmit="return comparision(this);" >
                                                <!-- <form name='form1' method='post' action="">-->
                                                    <tr><td>
                                                        <table border="0" cellpadding="1" cellspacing="5" align="center" width="100%" style="border:1px solid #EDEDED;background-color:#f6f6f6">
                                                            
                                                <tr><td>
                                                <table border="0" width="100%"><tr>
                                                <td width="10%"></td>

            <td><b><font size="3"> <span style="color:005D95">From</span></b></td>
            <td><b><font size="3"><span style="color:005D95">Subject</span></b></td>
            <td><b><font size="3"><span style="color:005D95">Date</span></b></td>
            </tr>


<?php

    include('database.php');
$result = mysql_query("SELECT * FROM  autoalto_mail");
    
while($row = mysql_fetch_array($result))
        {
        ?>
        
            
                <tr><td width="10%"></td>
                <td ><img src="images/buldot.gif" alt="" height="6" width="6">

                <?echo $row['from']?></td>
                <td ><a href="contractor_mail_action_contents.php"><?echo $row['subject']?></a></td>
                <td><?echo $row['date']?></td>
            </tr>
                
                                        <tr><td width="10%"></td>
                                        <td colspan="4" style="background-repeat: repeat-x;"   background="images/dot.jpg" height="0" width="300"></td></tr>
                                    
    
        
        <?        
    
    
}
    
mysql_close();
?>
</tr>
    </table>
</td>

</tr>
<tr><td>&nbsp;</td></tr>
<tr>

<td>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="border:1px solid #EDEDED;background-color:#f6f6f6">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" >
<tr>
<td><img src="images/box_left.gif" width="10" height="31" alt=""></td>
<td nowrap  background="images/box_topbg.gif" width="100%" height="31">
<table cellpadding="0" cellspacing="0" width="100%" border="0" >
<tr>
<td style="padding-left:5px;" class="headtitle">Mail Preview</td>
<td align="right" colspan="3" style="color:red"> <a href="lll.html">Open in new window</a></td>

</tr>
</table>
<td><img src="images/box_right.gif" width="10" height="31" alt=""></td>
</tr>
<tr>
<td background="images/box_leftbg.gif" width="10"></td>
</tr>
</table></td></tr>
<tr><td>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%"  style="border:1px solid #EDEDED;background-color:#ffffff">
<tr><td><b>Subject:</b></td>
<td align="right" colspan="3" style="padding-left:5px;" class="headtitle"> <a href="lll.html"><b>Reply</b></a><span >/</span><a href="lll.html"><b>Delete</b></a><span>/</span><a href="lll.html"><b>Next</b></a></td></tr>
                                        
<tr><td><b>From:</b></td></tr>
<tr><td><b>To:</b></td></tr>
</table>
</td></tr>
<tr><td>
<? /* php

    include('database.php');
$result = mysql_query("SELECT * FROM  autoalto_mail");
    
while($row = mysql_fetch_array($result))
        {
        ?>
        
            
            <? /*echo $row['contents'] */?>

            
    
        
        <?    /*    
    
    
}
    
mysql_close();
*/
?>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>
</td>
</tr>

    
    </table>
   </td></tr>
    </form>
    </table>
    </td>
    <td background="images/box_rightbg.gif" width="10"></td>
  </tr>
  <tr>
    <td><img src="images/box_botleft.gif" width="10" height="10" alt=""></td>
    <td background="images/box_botbg.gif" width="100%" height="10" alt=""></td>
    <td><img src="images/box_botright.gif" width="10" height="10" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<!-- right nav -->
<td width="5">&nbsp;</td>

<td width="5">&nbsp;</td>
</tr>
</table>
</td></tr>    
        <!-- footer -->
        
        
        
        <tr><td background="images/button_bot.jpg" height="7" width="100%"></td></tr>
        <tr>

        <!--    <td ><div align="center"><img src="images/vertical_line.jpg" alt="auto repair service list mechanic garage dark green line" width="940" height="8" /></div> -->
            <? include("footer.php") ?></td>
        </tr>
      </table>
    </body>
</html>






User is offlineProfile CardPM

Go to the top of the page

JBrace1990
post 18 Jul, 2008 - 12:43 PM
Post #4


D.I.C Regular

Group Icon
Joined: 9 Mar, 2008
Posts: 427



Thanked 19 times

Dream Kudos: 350
My Contributions


try following this tutorial... it's built for beginners wink2.gif
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/8/08 10:03AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month