You are here: Re: php & mysql « PHP Programming Language « IT news, forums, messages
Re: php & mysql

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация