Hello

Using PHP to output some mySQL table data:


code:

echo '<p><span id="approveid">'.$row[id].'</span>. '.$row
[topicTitle].' <span id="approveTitle"><img src="../img/icons/
icon_checkex_sm.gif" alt="unapproved"></span></p>';

...

...

there are 40+ rows, all with a unique $row[id]


/code

So if the user clicks the span id approveTitle I initiate an ajax
request

I want to update the row in the mySQL table that the id of the row
being clicked on is used as the id key for my table row that is being
updated

I have the JS code pasted here:

http://pastebin.com/m429218a7


A little help please?

Reply via email to