- 0
Sprijin- Nu se creeaza tabel in baza de date
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
NaturaL
Nick: Natural
Problema: Am luat un filterscript lam bagat merge totul bine dar nu se creeaza acel tabel in baza de date ... Si nu se salveaza acele likes si views ...
Erori / warnings: -
Lini/script: [pawn]public OnFilterScriptInit( )
{
Database = db:open( "FaceBook.db" );
db:query( Database, "CREATE TABLE IF NOT EXISTS `FProfiles` (`Nume` TEXT, \
`Password` TEXT, \
`Age` NUMERIC, \
`Sex` TEXT, \
`Country` TEXT, \
`Likes` NUMERIC, \
`Views` NUMERIC, \
`Privacy` NUMERIC, \
`Status` TEXT, \
`Ocupation` TEXT, \
`Expiration` TEXT)" );
return 1;
}
public OnFilterScriptExit( ) return db:close( Database );[/pawn]
Ai incercat sa rezolvi singur ?: Am cautat pe internet dar nu am gasit ..
10 answers to this question
Recommended Posts