Foršais džekiņš ([info]petro) rakstīja [info]koderi kopienā,
@ 2008-05-20 15:52:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
PHP
[Error: Irreparable invalid markup ('<td <?>') in entry. Owner must fix manually. Raw contents below.]

Dots:
Ir lapa kuru man vajadzētu pielabot.
Zināšanas par PHP man ir minimālas, tā teikt "absolute beginner",
esošā koda fragments:
<code>
<?
$query = "SELECT * FROM cont_big WHERE cat = '".$cat."'";
$result = mysql_query($query);
while($row = mysql_fetch_array($result))
{
$content_big = stripslashes($row['content']);
?>
<table>
<tr>
<td <?=$content_big;?></td>
</tr>
</table>
<? } ?>
</code>
nu lūk un šis mainigais "content_big" attiecīgi satur HTML tekstu no MySQL datubāzes.

Jautājums: Vai ir kādīgi iespējams, lai tas "content_big" saturētu izpildāmu PHP kodu?


(Lasīt komentārus)

Nopūsties:

No:
Lietotājvārds:
Parole:
Ievadi te 'qws' (liidzeklis pret spambotiem):
Temats:
Tematā HTML ir aizliegts
  
Ziņa:

Gandrīz jau aizmirsu pateikt – šis lietotājs ir ieslēdzis IP adrešu noglabāšanu. Operatore Nr. 65.
Neesi iežurnalējies. Iežurnalēties?