atom feed5 messages in com.googlegroups.professional-php[Pro. PHP Dev.] I Have a Problem in m...
FromSent OnAttachments
pinkyNov 28, 2008 9:34 pm 
Robert GonzalezNov 29, 2008 7:43 am 
jutika hazarikaNov 30, 2008 5:27 am.gif
Robert GonzalezNov 30, 2008 9:56 am.gif
Matthew NeilsonNov 30, 2008 2:13 pm.gif
Subject:[Pro. PHP Dev.] I Have a Problem in my PHP programming logic.. Please help
From:pinky (
Date:Nov 28, 2008 9:34:41 pm

1 => I have a database with following database: - table name= Pricing - no. of fields= 9 - name of the fields= id, service, price1, price2, price3, range1, range2, range3, range4 => [ id` int(99) NOT NULL auto_increment,`service` varchar(255) NOT NULL, `price1` int(99) NOT NULL, `price2` int(255) NOT NULL, `price3` int(99) NOT NULL, `range1` int(99) NOT NULL, `range2` int(99) NOT NULL, `range3` int(99) NOT NULL, `range4` int(99) NOT NULL, PRIMARY KEY (`id`)) ]

2 => I have a HTML form, having the following code:

--------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://"> <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head>

<body> <form name="contact" method="POST" action="customize1.php"> <div id="content"> <h1>Customize</h1> <label>Link Building</label><br> <input type="text" name="txtlink" size="46"> <select name="sellink"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select> <br><br> <label>Article Submissions</label><br> <input type="text" name="txtarticle" size="46"> <select name="selarticle"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Blog Writing and Posting</label><br> <input type="text" name="txtblog" size="46"> <select name="selblog"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Manual submission to major search engines and directories</ label><br> <input type="text" name="txtmanual" size="46"> <select name="selmanual"> <option selected>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Social bookmarking</label><br> <input type="text" name="txtsocial" size="46"> <select name="selsocial"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Blog Installation and Customization</label><br> <input type="text" name="txtbloginst" size="46"> <select name="selbloginst"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Generating search engine ranking reports</label><br> <input type="text" name="txtgenerating" size="46"> <select name="selgenerating"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Craig List Posting</label><br> <input type="text" name="txtcraig" size="46"> <select name="selcraig"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label>Comments Posting</label><br> <input type="text" name="txtcomment" size="46"> <select name="selcomment"> <option>Daily</option> <option>Weekly</option> <option>Monthy</option> </select><br><br> <label><b>User Detail (* Fields are mandatory) :</b></label><br><br> <label>Name*</label><br> <input type="text" name="txtname" size="58"><br><br> <label>Company Name*</label><br> <input type="text" name="txtcompanyname" size="58"><br><br> <label>Website*</label><br> <input type="text" name="txtwebsite" size="58"><br><br> <label>Email*</label><br> <input type="text" name="txtemail" size="58"><br><br> <label>Additional detail</label><br> <textarea name="txtmsg" cols="38" rows="10""></textarea><br><br> <input type="submit" name="submit" Value="SUBMIT" onClick="javascript: return validate();" /> </div> </form> </body> </html>

--------------------------------------- Now I want to send an Automated email when somebody clicks on the submit button, calulating the total price. - The user will put number on the textboxes of the services.It should now check the no. entered in the checkbox is in which range and for which service(this information it should take from the database), And for "Daily" service -> it should take the price from the database as it is. For "Weekly" service -> it should multiply the price by 7. For "monthly" service -> it should multiply the price by 30/31 (according to days in that particular month).

--~--~---------~--~----~------------~-------~--~----~ This group is managed and maintained by the development staff at 360 PSG. An
enterprise application development company utilizing open-source technologies
for todays small-to-medium size businesses.

For information or project assistance please visit :

You received this message because you are subscribed to the Google Groups
"Professional PHP Developers" group. To post to this group, send email to To unsubscribe from this group, send email to For more options, visit this group at -~----------~----~----~----~------~----~------~--~---