At a college I work at we have a web site that students can log into to view their course progress. The site is currently written in ASP and after numerous issues with it we have decided to re-write it in PHP. Most of the code is easy to see what its currently doing and therefore easy enough to be replicated in PHP, but I have this snippet of code that I can't replicate in PHP:-
<p>This is your individual Learner Profile</p> <img src="http://www.url.com/<%=mid(rsStu("st_id"),4,12)%>.bmp" width="100">
Its currently displaying their picture after they have logged in. How do I get PHP to do the same?
I have already set the variable $student_id which can be used to query the tables, but it doesn't look like the pictures are stored in a table?
Any help or suggestion would be a great help