zoey_ann101
New member
guys??
how to delete a displayed data..
my code is this,,
<?php
while($arrRecord = mysql_fetch_array($dbRecords))
{?>
<table border=2 align=center width=30%>
<form name="frmdelete" action="delete.php">
<tr>
<td><?php echo $arrRecord['Title'];?> by <?php echo $arrRecord['Artist'];?></td>
<td width=30><input type="submit" name="cmdDelete" value="Delete"></td>
</tr>
</form>
</table>
<?php
}?>
i can't delete it...it will display 5 rows of data..yet it won't delete!!
i need help!!
but i dunno how...i'm sorry..i'm just a beginner in this subject..i just want the administrator to click the delete button then the title and artist that is parallel with that button will be automatically deleted in the database..huhuhuhu...
my deadline is nearly up..
how to delete a displayed data..
my code is this,,
<?php
while($arrRecord = mysql_fetch_array($dbRecords))
{?>
<table border=2 align=center width=30%>
<form name="frmdelete" action="delete.php">
<tr>
<td><?php echo $arrRecord['Title'];?> by <?php echo $arrRecord['Artist'];?></td>
<td width=30><input type="submit" name="cmdDelete" value="Delete"></td>
</tr>
</form>
</table>
<?php
}?>
i can't delete it...it will display 5 rows of data..yet it won't delete!!
i need help!!
but i dunno how...i'm sorry..i'm just a beginner in this subject..i just want the administrator to click the delete button then the title and artist that is parallel with that button will be automatically deleted in the database..huhuhuhu...
my deadline is nearly up..