Im looking for an expert php/ajax coder who can finally put an end to some bugs that keep appearing in this script. Ive hired many different coders to fix the script already. The last coder fixed the script completely and it worked excellent, but, after moving to a new server the bugs are back again!
The script has code that wraps colored boxes round the user comments. Green box for front end user and grey box for admin. When a front end user sends a message to admin, the users comments have a green box wrapped round them. When admin reply's to the front end user, a grey box is wrapped round the admin comments.
The color boxes are to make it easy to follow the conversation taking place between front end user and admin.
After the website was moved to a new server, the color boxes are not getting wrapped round the comments anymore from front end side or admin side. This makes the conversation all jumbled together.
It cant be something complicated, because it worked perfectly before!
It should be an hour or two work (going on previous experience) and I would like you to start immediately and fix this problem today.
this is one part of the code that wraps the green box round the user comments
$pm['message']= '<div style="width: 20px; height: 24px; ">
<img stlyle="width:100%;height:100%;" src="images/green_comments_01.png"> </div>
<div id="usermsg"><span id="uesrnaslov">'.$today.'</span><p>'. $pm['message'] .'</p><br /></div>
<div style="width: 210px; height: 60px; margin-left: -1px;"><img style="width: 100%; height: 100%;" src="images/green_comments_04.png"> </div>';
'. $pm['message'] .' is the users main message. I tried adding some <br> tags to see if i could push the message down a bit, but it did not change the output in the browser. So im thinking this is the reason why the png images are not showing in the message because the script is not reading the tags properly??