I need help converting something very simple from ASP (classic).
Here is the ASP code:
<% DO While NOT recordset.EOF %>
<tr><td colspan="3">Posted On: <%=recordset("NewsDate") %></td></tr>
(Populate a table from Access Database here)
<%
Recordset.MoveNext
Loop
%>
Basically, instead of using SQL to access the db, I used a recordset. Why? Because this is a memo field that stores news information. In the news memo field, it stores apostrophies, and quotation marks. Thus, using SQL to retrieve that information causes a problem on output.
What is the PHP equivalent?
As a recap, I have a memo field that stores lots of text with apostrophies and quotes. I need to be able to pull the information out of the memo field without using SQL. How can I do this?