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
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