Thursday, 22 August 2013

html and php variables

html and php variables

I am using a while loop to retrieve data from a database and i require a
html entities halfway through my script(refer to image below)

However, the html tag takes into account the last result which i have
retrieved from the while loop, does anyone have a solution whereby the
variable will coincide accordingly to the retrieved result instead of the
last result?($name and $date_posted variable changes accordingly to the
results retrieved from database in a while loop)

No comments:

Post a Comment