User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 455,965 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,655 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 363 | Replies: 1
Reply
Join Date: Jul 2007
Posts: 14
Reputation: bumassjp is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bumassjp's Avatar
bumassjp bumassjp is offline Offline
Newbie Poster

Need help with RSS feeds and importing form data

  #1  
Nov 21st, 2007
  1. <html>
  2. <head>
  3. <title>Post a load with ITS</title>
  4.  
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6.  
  7. </head>
  8. <body class="sub">
  9. <form name="FormName" method="post" action="">
  10. <table width="100%" border="0" cellpadding="4" cellspacing="2">
  11. <tr bgcolor="#009933" style="vertical-align: top">
  12. <td colspan="2" class="HeaderColor">
  13. Posting Loads</td>
  14. </tr>
  15. <tr bgcolor="#00FF33" style="vertical-align: top">
  16.  
  17. <td colspan="2" class="StoryContentColor">
  18. Please enter all the information needed to post a load. Also please select which options you would like to use.</td>
  19. </tr>
  20. <tr align="left" valign="baseline" bgcolor="#FFFF00" style="vertical-align: top">
  21. <td width="50%" bgcolor="#0000FF" class="TitleColor"><div align="center"><strong>Destination Information </strong></div></td>
  22. <td width="46%" bgcolor="#0000FF" class="TitleColor"><div align="center"><strong>Origination Information </strong></div></td>
  23. </tr>
  24. <tr align="left" valign="baseline" bgcolor="#FFFF00" style="vertical-align: top">
  25. <td height="181" bgcolor="#666666" class="TitleColor"><label for="destaddress">Address</label>
  26. <br>
  27. <input type="text" id="destaddress" name="destaddress" size="50">
  28. <br>
  29. <label for="destcity"> City</label>
  30. <br>
  31. <input type="text" id="destcity" name="destcity" size="50">
  32. <br>
  33. <label for="deststate"> State<br>
  34. </label>
  35. <input name="deststate" type="text" id="deststate" size="20">
  36. <br>
  37. <label for="destzipcode"> Zip Code<br>
  38. </label>
  39. <input type="text" id="destzip" name="destzip" size="10">
  40. <br></td>
  41. <td bgcolor="#666666" class="TitleColor"><label for="origaddress">Address<br>
  42. </label>
  43. <input name="origaddress" type="text" id="origaddress" size="50">
  44. <br>
  45. <label for="origcity"> City<br>
  46. </label>
  47. <input name="origcity" type="text" id="origcity" size="50">
  48. <br>
  49. <label for="origstate"> State<br>
  50. </label>
  51. <input name="origstate" type="text" id="origstate" size="20">
  52. <br>
  53. <label for="origzip"> Zip Code<br>
  54. </label>
  55. <input name="origzip" type="text" id="origzip" size="10"></td>
  56. </tr>
  57. <tr align="left" valign="baseline" bgcolor="#FFFF00" style="vertical-align: top">
  58. <td bgcolor="#0000FF" class="TitleColor"><div align="center"><strong>Contact Information </strong></div></td>
  59. <td bgcolor="#0000FF" class="TitleColor"><div align="center"><strong>Load Information </strong></div></td>
  60. </tr>
  61. <tr align="left" valign="baseline" bgcolor="#FFFF00" style="vertical-align: top">
  62. <td height="277" bgcolor="#666666" class="TitleColor">
  63. <label for="contactname">Name <br></label>
  64. <input type="text" id="contactname" name="contactname" size="50">
  65. <br>
  66. <label for="contactname">Phone<br></label>
  67. <input type="text" id="contactphone" name="contactphone" size="50">
  68. <label for="contactname"><br>Fax <br></label>
  69. <input type="text" id="contactfax" name="contactfax" size="50">
  70. <br>
  71. <label for="contactname">Company<br></label>
  72. <input type="text" id="contactcompany" name="contactcompany" size="50">
  73. </td>
  74. <td bgcolor="#666666" class="TitleColor">
  75. <div align="left">
  76. <label for="loadtype">Load Type</label>
  77. <select name="loadtype" id="loadtype">
  78. <option selected>Full Load</option>
  79. <option>Partial Load</option>
  80. </select>
  81. <br>
  82.  
  83. <label for="equipment">Equipment Required</label>
  84. <select name="equipment" id="equipment">
  85. <option selected>Flatbed</option>
  86. <option>Stepdeck</option>
  87. <option>RGN-Lowboy</option>
  88. <option>Van</option>
  89. <option>Stretch</option>
  90. <option>Landoll</option>
  91. </select>
  92. <br>
  93. <br>
  94. Dimensions <br>
  95. <input type="text" id="dimensions" name="dimensions" size="50">
  96. <br>
  97. Weight<br>
  98. <input type="text" id="weight" name="weight" size="50">
  99. <br>
  100. Rate<br>
  101. <input type="text" id="rate" name="rate" size="50">
  102. <br>
  103. <p>
  104. <label>
  105. <input name="tarp" type="checkbox" id="tarp" value="tarprequired">
  106. </label>
  107. Tarp Required <br>
  108. <input name="oversize" type="checkbox" id="oversize" value="oversize">
  109. Oversize Load </p>
  110. <p>
  111. <label for="origaddress"> </label>
  112. <label for="questions">Additional Information</label>
  113. <br>
  114. <textarea id="additional" name="additional" rows="3" cols="50"></textarea>
  115. </p>
  116. </div>
  117. </td>
  118. </tr>
  119. <tr align="left" valign="baseline" bgcolor="#FFFF00" style="vertical-align: top">
  120. <td height="28" bgcolor="#0000FF" class="TitleColor">&nbsp;</td>
  121. <td bgcolor="#0000FF" class="TitleColor">&nbsp;</td>
  122. </tr>
  123. <tr style="vertical-align: top">
  124. <td colspan="2"> <input type="submit" name="Submit" value="Submit"> </td>
  125. </tr>
  126. </table>
  127. <a href="http://www.power-trak.com/jptest/ymapsmain.html">Back to ITS</a>
  128. </form>
  129. </body>
  130. </html>

I know this is somewhat all over the place but it is still essentially being tested. I need to be able to take the data entered in this form and insert it into an existing RSS feed as its own item. I have the code for the rss feed if anyone wants to see that but it is the same format as any other form. I know this is not the most difficult task, but it is for someone who was never taught this and has never had to do it before. Thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 636
Reputation: kkeith29 is on a distinguished road 
Rep Power: 3
Solved Threads: 71
kkeith29's Avatar
kkeith29 kkeith29 is offline Offline
Practically a Master Poster

Re: Need help with RSS feeds and importing form data

  #2  
Nov 23rd, 2007
you could just open the rss file with php, put the form data into the proper format and append it to the file.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 9:05 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC