Posted by geevaa on 09/22/07 08:48
onlysaket@gmail.com wrote:
> Actually i wanted to delete the news one by one from my newsbulletin
> table using php plz help
>
>
> my table structure is like this newsid int
>
> news varchar
>
>
>
>
> with regards
>
> saket
get the MySQL database connection using mysql_connect() function
select the database using mysql_select_db()
have any for or while loop...
and pass the following query
delete from tablename where newsid='$newsid'
$newsid is the php variable whose value can incremented dynamically
Navigation:
[Reply to this message]
|