I currently have this working, but I need to implement it into a while() loop. So i'd do likewhich would obviously display all of the names in the table from the database and make all of them editable. This is my problem, how can I let the processing page know which id each name is? Like they would all have ID's within the database. Because as far as i can see, it only parses on the $_POST['value'] value to the processing page? Probably a really dumb question, but ya know its late. Any help would be really appreciatedPHP Code:<?PHP while ($ary = mysql_fetch_array($qry))
{
echo "<span id='editme'>$ary['name']</span>";
}
?>
<script>
new Ajax.InPlaceEditor($('editme'), 'test.php', {okButton: false, okLink: true, cancelLink: true, cancelButton: false,okText: "Update", cancelText: "Oops", highlightcolor: "#CD5555", highlightendcolor: "#000000"});
</script>I think it all makes sense?:s
Joe





I think it all makes sense?:s
Reply With Quote
