![]() |
|
|||||||||
|
|||||||||
|
| 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. |
|
||||||
| PHP DB Discutii despre lucrul cu baze de date in PHP. |
![]() |
|
|
Thread Tools | Moduri de afișare |
|
|
#1 |
|
Banned
Data înregistrării: 16.12.2005
Vârsta: 19
Mesaje: 25
Rep Power: 0 ![]() |
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. |
|
|
|
| Sponsored Links |
|
|
#2 |
|
32-Bit Member
|
cu ce te poate ajuta cineva ?
__________________
http://www.top30.ro |
|
|
|
|
|
#3 |
|
16-Bit Member
|
Scrie si tu o lista....ce tabele ce sa cuprinda.....campuri, nume, etc.
Stima, PUIU
__________________
http://puiu.org/sig/sig.png |
|
|
|
|
|
#4 |
|
8-Bit Member
Data înregistrării: 28.06.2006
Mesaje: 6
Rep Power: 6 ![]() |
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 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Moduri de afișare | |
|
|