how to create a horizontal table with dynamic png pictures

G

Guest

Hi there,

I want to access an Access database and show the contents in a horizontal
table row. In PHP this would look like this:

I need to use a sql - String, which will be changed on events which have
happend earlier in the code:

$strSql = "Select * from Tabelle where ID >'$kriterium'";
if (!$res=send_sql($db,$strSql)) myError("(1) da ging was daneben");
echo "<table><tr>";
while ($row=mysql_fetch_assoc($res)){
echo"<td>".$row["Inhalt"]."</td>"; // (==1==)
}
echo "</td></table>";

Later, I want to show the contents (--1--) as a dynamically generated png
picture.

Learning ASP.NET and knowing PHP, it seems to me that have to think in a
different way when I want to use ASP.NET.

Question: Is ist worth to "adapt" the PHP Philosophy to ASP.NET Code or
should I think differently?

Regards

Bruno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top