What I need is
1. a button to toggle on and off (set to 'Online' or 'Offine') a field in a MySql Table. (Sounds simple?) The trick is that the button image must reflect the status of that field (ie. [url removed, login to view] / [url removed, login to view]) WITHOUT having to reload the page.
Im 90% there - geting the state of the button field when the page loads via php function and using the approriate image THEN calling a page in a 0px,0px iframe to update the fields (a href='[url removed, login to view]') - but I am very weak in Java/AJAX so the live update (image change) of the button (while probably very simple) escapes me.
In case you have a better way to do the whole thing the MYSQL is;
for #1 SELECT status FROM Members WHERE MemberID = $MID
for #2 SELECT MemberID,MemberName FROM Members WHERE status = Online
There - You have the 1st of 5 code projects I will need in the comming days - They get more complicated (I promise) - final code must be well formatted and documented
7 freelancer đang chào giá trung bình $66 cho công việc này
Very simple project could be finished within a few hours have coded this many times in my own and client projects. Please pm me so we can talk further on this project.