Go Back  HTML Forums - Free Webmaster Forums and Help Forums > Member Blogs
User Name:
Password:
 

 
 Search
 
 

 
 Categories
 
 

Client Side Scripting

Server Administration

Server Side Development

Web Design

Web Industry

Way Off-Topic


 
 Recent blog posts
 
 

 
 User login
 
 

 
 Navigation
 
 

 
Flash & Actionscript
 
 
 
 
  RE PHP
 
 
 
By amansingh630 at 2010-02-14 23:48

Pls help, we made this code which is working fine what how we can do php to pick the ID which we click on so we can delete , this code is only picking one ID all time,


<script type="text/javascript">
<!--
function confirmation() {
var answer = confirm("Delete entry <? echo $row['id']; ?> ?")
if (answer){
alert("Entry Deleted")
window.location = "deletemessageboard.php?id=<? echo $row['id']; ?>";
}
else{
alert("No action taken")
}
}
//-->
</script>
<?
if ($rowcolor == "000000"){
$rowcolor = "222222";
} else {
$rowcolor = "000000";
} ?>
<tr style="background-color: <? echo $rowcolor; ?>">
read more | amansingh630's blog | login or register to post comments

Syndicate content
 
 Who's online
 
 
There are currently 0 users and 94 guests online.




All times are GMT -5. The time now is 05:07 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.