Phorum.ro
Your Avatar Welcome to Phorum.ro!
If you haven't registered yet, click here!
Attention Visitor:
You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Du-te înapoi   Phorum.ro > Web Design & Web Development > Programare > PHP > PHP DB

PHP DB Discutii despre lucrul cu baze de date in PHP.

Răspunde
 
Thread Tools Moduri de afișare
Vechi 19.04.2006   #1
AndyM
Banned
 
Data înregistrării: 16.12.2005
Vârsta: 19
Mesaje: 25
Rep Power: 0
AndyM is on a distinguished road
Exclamation Va rog sa ma ajutati.

Salut. Lucrez la un nou software pentru album. Power Protect Album (PPA).
Dar am o problema vreau sa fac un script php care sa introduca Tabelele in baza de date.
AndyM is offline   Reply With Quote
Sponsored Links
Vechi 22.04.2006   #2
tedyX
32-Bit Member
 
tedyX's Avatar
 
Data înregistrării: 08.11.2005
Mesaje: 191
Rep Power: 7
tedyX is on a distinguished road
Trimite un mesaj prin ICQ pentru tedyX Trimite un mesaj prin Yahoo pentru tedyX Send a message via Skype™ to tedyX
Implicit

cu ce te poate ajuta cineva ?
__________________
http://www.top30.ro
tedyX is offline   Reply With Quote
Vechi 28.04.2006   #3
puiu
16-Bit Member
 
puiu's Avatar
 
Data înregistrării: 21.04.2006
Mesaje: 17
Rep Power: 6
puiu is on a distinguished road
Trimite un mesaj prin Yahoo pentru puiu
Implicit macar o lista.......

Scrie si tu o lista....ce tabele ce sa cuprinda.....campuri, nume, etc.

Stima,
PUIU
__________________
http://puiu.org/sig/sig.png
puiu is offline   Reply With Quote
Vechi 28.06.2006   #4
scherfistv
8-Bit Member
 
Data înregistrării: 28.06.2006
Mesaje: 6
Rep Power: 6
scherfistv is on a distinguished road
Post Creare tabel sau inserare in tabel?

Pt. create tabel
<?php
......
$dbh1 = mysql_connect($host,$user,$pass);
mysql_query('CREATE TABLE test (camp1 VARCHAR(255), camp2 INT, camp3 CHAR);', $dbh1);
......
?>

Sau daca vrei sa introduce [aka inserezi in tabela]:

<?php
......
$dbh1 = mysql_connect($host,$user,$pass);
mysql_query('INSERT INTO test (camp1, camp2, camp3) VALUES ("Sir",1,"C");', $dbh1);
......
?>

Fi mai explicit sau viziteaza: http://dev.mysql.com/doc/refman/5.0/...ate-table.html
scherfistv is offline   Reply With Quote
Răspunde


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Moduri de afișare

Reguli de postare
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Pornit
emoticoanele sunt Pornit
Codul [IMG] este Pornit
Codul HTML este Oprit



Ora este GMT +3. Ora este acum 12:13:30.


Rulează cu: vBulletin Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum SEO by Zoints

XXXXXXXXXXXXXXXXXXX
Inactive Reminders By Icora Web Design