The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Reload two td/div at the same time, reload divg/td
ertarunz7
post Apr 26 2008, 07:16 AM
Post #1





Group: Members
Posts: 1
Joined: 26-April 08
Member No.: 5,520



Hi everyone ...
I'm facing a problem to reload two div/td (what ever is possible) , i'm providing the code . these should be reloaded on a single buton click.


<?php
session_start();

if( isset($_REQUEST['security_code'])) {
if( $_SESSION['security_code'] != $_REQUEST['security_code'] ) {
// Insert you code for processing the form here, e.g emailing the submission, entering it into a database.
echo 'Sorry, you have provided an invalid security code';
//echo 'Thank you. Your message said "'.$_POST['message'].'"';
//unset($_SESSION['security_code']);
} else {
echo " Right code : this is only for testing later this msg will not be shown" ;
}
// Insert your code for showing an error message here
//echo 'Sorry, you have provided an invalid security code';
// }
}
?>
<?php
require_once("captcha.php");
?>
<form action="form.php" method="post">
<label for="name">Name: </label><input type="text" name="name" id="name" /><br />
<label for="email">Email: </label><input type="text" name="email" id="email" /><br />
<label for="message">Message: </label><textarea rows="5" cols="30" name="message" id="message"></textarea><br />
<!-- Message lock Captcha Code ad Starts Here -->
<style type="text/css">
<!--
#box p {
font-family: Tahoma, Arial, Verdana;
font-size: 11px;
font-weight: bold;
color: #006699;
}
.input
{
border:2px inset #f1f1f1;
height:20px;
width:150px;
}
-->
</style>

<table width="500" border="0" cellpadding="0" cellspacing="0" id="box">
<tr>
<td><img src="images/BOXtop.jpg" width="500" height="12" /></td>
</tr>
<tr>
<td align="center" valign="top" background="images/BOXrep.jpg"><table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--- first one is the one below -->
<td colspan="3"><img src="securimage_show.php" id="image"/></td>
</tr>
<tr>
<td colspan="3"><p>Please type The Code Above Exactly as Written </p></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input id="security_code" name="security_code" type="text" class="input"/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="29"><img src="images/refresh.gif" alt="Give me a new challenge" width="31" height="35" /></td>
<td width="29"><img src="images/info.gif" alt="What's this ?" width="31" height="35" /></td>
<td width="42"><a href="securimage_play.php"><img src="images/volume.gif" alt="My audio challenge" width="31" height="35" border="0" /></a></td>
</tr>
</table></td>
<td>&nbsp;</td>
</tr>
<tr>
<!--- and the second is the one below -->
<td colspan="3"><script type="text/javascript">
<!--
document.write('<s'+'cript type="text/javascript" src="http://messagelock.net/adman/show.php?z=2&id=<?php echo $_SESSION['banid'];?>&j=1&code='+new Date().getTime()+'"></s'+'cript>');
// -->
</script></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table> </td>
</tr>

<tr>
<td><img src="images/BOXbtm.jpg" width="500" height="14" /></td>
</tr>
</table>

<!-- Message lock Captcha Code ad Ends Here -->
<input type="submit" name="submit" value="Submit" />
</form>

This is basically a captcha generation along with one more pic will be displayed and both of these should be reloaded/refreshed on the click of the refresh button.

A help help will be really appreciated ...
Thanks a lot to all in advance ..
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th November 2019 - 11:58 PM