php.de

Zurück   php.de > Webentwicklung > Datenbanken

Datenbanken SQL und Co

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 08.08.2005, 13:55  
Gast
 
Beiträge: n/a
Standard [Erledigt] SHOW TABLES Probelm

Hi Leute, ich habe das I-Net schon nach dem Mist durchsucht, und alles was ich gefundenhaben hat micht nicht groß weiter gebracht. kann mir mal jemand eine Code geben, wo das mal richtig erklärt ist.
  Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 08.08.2005, 14:00  
Gast
 
Beiträge: n/a
Standard

OK hat sich erledigt. Hatte immer nur ein Tippfehler

Code:
<?php
$link = mysql_connect($path,$usermane,$password);
$tables = array(); 
mysql_query($link);
$rows = mysql_query("show tables FROM $datenbank"); 
while ($row = mysql_fetch_array($rows)) { 
$tables[] = $row[0]; 
} 
print_r($tables);
?>
  Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
SHOW DATABASES: Platzhalterproblem iRadiaX Datenbanken 4 30.04.2006 14:51
Probelm mit SQL Query b++ PHP Tipps 2005-2 4 19.09.2005 21:38
Show & Hide PHP Tipps 2005-2 3 12.09.2005 08:02
PHP Probelm mit MySQL Tabellenreferenz PHP Tipps 2005-2 3 10.08.2005 12:28
Tables Schubi PHP Tipps 2005-2 0 05.08.2005 15:09
Tables Schubi PHP Tipps 2005-2 0 05.08.2005 15:08
Tables PHP Tipps 2005-2 0 05.08.2005 13:39
LOCK TABLES / LAST_INSERT_ID AliceD Datenbanken 3 20.07.2005 13:45
Riesen Probelm beim DUmp übertragen DDogg Datenbanken 2 07.07.2005 11:40
Suche zufalls(bild)script das in tables läuft... Beitragsarchiv 0 05.07.2005 12:18
Runtime Information ph!l Datenbanken 4 15.06.2005 15:43
SHOW GRANTS ... axo Datenbanken 10 10.03.2005 17:21
SHOW PROCESSLIST und TEMPORARY TABLES tapferesschneiderlein Datenbanken 2 05.03.2005 11:40
SHOW PROCESSLIST und »Host« (4.0.12-nt) tapferesschneiderlein Datenbanken 6 02.03.2005 10:53
Tables von DB1 nach DB2 transportieren (Per script) Datenbanken 5 25.08.2004 11:55

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
show tables, php show tables, mysql_query show tables, show tables php, show tables from, show table php, php show table, php show tables from, mysql_query(\show tables\), show tables where, mysql_query show, mysql_query(\show tables\);, mysql_query() show tables, mysql_query(\'show tables\'), show tables as, show tables from php, php mysql_query show tables, php sql show tables, php \show tables\, show table

Alle Zeitangaben in WEZ +1. Es ist jetzt 03:51 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.