MDanz Posted September 30, 2009 Share Posted September 30, 2009 heres what i've done so far.. i'm having trouble with the function <div class=\"rollover\"><a onclick=\"Swap($number)\"></a></div> <script type='text/javascript'> function Swap(number){ } </script> $number is the id the row. So if i clicked on any result i would have a different id stored as $number. How do i do the function to swap two rows though? hope this is easy... Link to comment https://forums.phpfreaks.com/topic/176064-onclick-swap-mysql-rows/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.