Answer the question
In order to leave comments, you need to log in
How to insert a php function?
Hello! I have something like this
<?php
$result = mysql_query(" SELECT * FROM eb_notes ORDER BY `id` DESC");
while ($row = mysql_fetch_array ($result)) { ?>
<div class="item_notes">
<span class="description_notes"><?php echo $row ['description']; ?></span>
<div class="desc_data_time">
<span class="notes_dt"><?php echo $row ['date']; ?></span>
<span class="notes_dt" ><?php echo $row ['time']; ?></span>
</div>
</div>
<?php }?>
<?php
function hello()
while ($row = mysql_fetch_array ($result)) { ?>
<div class="item_notes">
<span class="description_notes"><?php echo $row ['description']; ?></span>
<div class="desc_data_time">
<span class="notes_dt"><?php echo $row ['date']; ?></span>
<span class="notes_dt" ><?php echo $row ['time']; ?></span>
</div>
</div>
<?php }?>
function hello(){
$result = mysql_query(" SELECT * FROM eb_notes ORDER BY `id` DESC");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question