phpbar.de logo

Mailinglisten-Archive

[php] Datenbankgesteuerte Website

[php] Datenbankgesteuerte Website

Adi Sieker adi_(at)_living-source.com
Tue, 17 Aug 1999 12:38:06 +0200 ((MEZ) - Mitteleurop. Sommerzeit)


On Tue, 17 Aug 1999, Andreas Kraftl wrote:

> 
> $sql_links = "SELECT filename, file_ID, a_text FROM file WHERE 
> anzeigen = 1";
> $sql_site = "SELECT title, author, lastmod FROM file WHERE file_ID = 
> $id";
> 
Wie wärs mit:
	SELECT filename, file_ID, a_text, title, author, lastmod FROM file
		WHERE
			anzeigen=1
	oder
	SELECT * FROM file
		WHERE
			anzeigen=1

Damit hättest du alle info sofort zur Verfügung.


Tschau
   Adi
	
-- 
./e2fsck: Illegal triply indirect block found while reading bad blocks
          inode. This doesn't bode well, but we'll try to go on...
~
adi_(at)_living-source.com               tel:+761 / 15 25 8-13
http://www.living-source.com        fax:+761 / 15 25 8-50



php::bar PHP Wiki   -   Listenarchive