djdubuque Posted June 25, 2009 Share Posted June 25, 2009 Here is the HTML version, can this be converted to PHP? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META HTTP-EQUIV="refresh" CONTENT="5"> <title>Informations</title> <style type="text/css"> <!-- #apDiv1 { position:absolute; left:102px; top:39px; width:900px; height:336px; z-index:1; } --> </style> </head> <body> <div id="apDiv1"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"> <h1><strong>Six Meters Propagation Logger ©</strong></h1> </div></td> </tr> <tr> <td> </td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Date</td> <td>UTC</td> <td>Station(mode)</td> <td>Freq</td> <td>Remarks -Reported by (Grid)</td> <td>Server</td> </tr> <tr> <td>June23</td> <td>4:34</td> <td>W7IXZ ( SSB)</td> <td>50.125</td> <td>59 DN05 - KD5DSQ(EM10)</td> <td>41.136.236.158</td> </tr><tr> <td>June23</td> <td>5:31</td> <td>test ( ssb)</td> <td>50.125</td> <td>test - ke4iap(fm18)</td> <td>wsip-24-249-248-8.dc.dc.cox.net</td> </tr> </table></td> </tr> <tr> <td><a href="add.html">ADD NEW</a></td> </tr> </table> </div> </body> </html> Next I have this; This is the Form file that adds information to the display file above. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- #apDiv1 { position:absolute; left:71px; top:50px; width:596px; height:324px; z-index:1; } --> </style> <script src="SpryAssets/SpryValidationTextField.html" type="text/javascript"></script> <script src="SpryAssets/SpryValidationTextarea.html" type="text/javascript"></script> <link href="SpryAssets/SpryValidationTextField-2.html" rel="stylesheet" type="text/css" /> <link href="SpryAssets/SpryValidationTextarea-2.html" rel="stylesheet" type="text/css" /> </head> <body> <div id="apDiv1"> <form id="form1" name="form1" method="get" action="http://dx.naveesh.com/add.php"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"><div align="right"><a href="index-2.html">Back</a></div></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td width="36%">DX Station</td> <td width="64%"><span id="sprytextfield1"> <label> <input type="text" name="station" id="station" /> </label> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td>Mode</td> <td><span id="sprytextfield2"> <label> <input type="text" name="mode" id="mode" /> </label> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td>Frequency</td> <td><span id="sprytextfield3"> <label> <input type="text" name="frequency" id="frequency" /> </label> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td valign="top">Remarks</td> <td><span id="sprytextarea1"> <label> <textarea name="remarks" id="remarks" cols="45" rows="5"></textarea> </label> <span class="textareaRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td>Your Call Sign</td> <td><span id="sprytextfield4"> <label> <input type="text" name="callsign" id="callsign" /> </label> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td>Your Grid Location</td> <td><span id="sprytextfield5"> <label> <input type="text" name="loc" id="loc" /> </label> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td colspan="2" align="center"><label> <input type="submit" name="Add" id="Add" value="Add" /> </label></td> </tr> <tr> <td colspan="2" align="center"> </td> </tr> </table> </form> </div> <script type="text/javascript"> <!-- var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1"); var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2"); var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3"); var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1"); var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4"); var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5"); //--> </script> </body> </html> Also would like it as PHP also if this file could be added to the first so that they would work together would be even better. As the Add.html inputs the data into the first one. The first file refreshes about every 5 sec. To better understand the concept here is a link to what the final would look like. http://dxworld.com/50prop.html Quote Link to comment https://forums.phpfreaks.com/topic/163618-solved-need-help-with-a-project/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.