Raised This Month: $ Target: $400
 0% 

SQL Column Type


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
EclipseCP
BANNED
Join Date: Dec 2010
Old 03-17-2011 , 21:52   SQL Column Type
Reply With Quote #1

hi , sorry for my bad english..

i have this code in menu:

PHP Code:
new day[11], hour[11]

format_time(daycharsmax(day), "%d/%m/%Y"g_day[id])
format_time(hourcharsmax(hour), "%H:%M:%S"g_day[id])

formatex(menucharsmax(menu), "Day: %d - Hour: %d"dayhour
as i have a record of accounts, the creation of the account, establishing the date (day and time)

PHP Code:
g_day[id] = get_systime()
formatex(consultcharsmax(consult), "UPDATE `%s` SET `character` = '%s', `date` = '%d' WHERE `acc` = '%s'"SQL_TABLEg_name[id], g_day[id], g_name2[id]) 


In short, I just want to know what type of SQL column is `date`, because it keeps the date and time, the truth would be grateful if I can help
EclipseCP is offline
 



Posting Rules
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 On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode