在 Codeigniter 中使用 mysql 数据库是轻而易举的事情,只要在 application/config/database.php
配置好数据库名称、帐号密码即可使用。
换成 sqlite 的话稍微麻烦点,Codeigniter 默认使用 PHP5 自带驱动来支持 sqlite 且该驱动只支持 sqlite 2.x 版本。好在从 Codeigniter 2.1 开始已经内置了 sqlite 的 pdo 驱动,通过 pdo 驱动就可以实现对 sqlite3 的支持。
编辑 application/config/database.php
里的选项:
$db['default']['hostname'] = 'sqlite:' . FCPATH . '../db/tms.db';$db['default']['username'] = '';$db['default']['password'] = '';$db['default']['database'] = '';$db['default']['dbdriver'] = 'pdo';$db['default']['dbprefix'] = '';$db['default']['pconnect'] = TRUE;$db['default']['db_debug'] = TRUE;$db['default']['cache_on'] = FALSE;$db['default']['cachedir'] = '';$db['default']['char_set'] = 'utf8';$db['default']['dbcollat'] = 'utf8_general_ci';$db['default']['swap_pre'] = '';$db['default']['autoinit'] = TRUE;$db['default']['stricton'] = FALSE;
这样就可以直接访问 sqlite 数据库了。
波比源码 – 精品源码模版分享 | www.bobi11.com
1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系管理员处理!
6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需!
7. 本站源码并不保证全部能正常使用,仅供有技术基础的人学习研究,请谨慎下载
8. 如遇到加密压缩包,请使用WINRAR解压,如遇到无法解压的请联系管理员!
波比源码 » 在 Codeigniter 中使用 sqlite3 数据库
波比源码 » 在 Codeigniter 中使用 sqlite3 数据库
order levaquin online levofloxacin 500mg over the counter
avodart over the counter avodart 0.5mg canada order ondansetron sale
lamotrigine 200mg over the counter retin gel tablet cheap tretinoin gel
order tadalis 20mg order avana 200mg pills diclofenac usa
buy generic cialis 20mg ed solutions order viagra 50mg pill
order anastrozole 1 mg for sale Fda approved viagra buy sildenafil 100mg generic
acheter cialis tadalafil 10mg en ligne viagra 50mg sans ordonnance
buy deltasone 10mg pill sildenafil for women sildenafil 20mg
cialis generika viagra 100mg kaufen ohne rezept sildenafil kaufen für männer
order accutane 20mg online cheap order stromectol 3mg without prescription stromectol medicine
purchase doxycycline for sale buy clomid pills lasix 100mg usa
catapres cheap antivert 25mg price buy generic tiotropium bromide
imdur 20mg without prescription purchase azathioprine sale order telmisartan 80mg pill
molnupiravir 200 mg canada order prevacid 15mg without prescription prevacid 30mg ca
cialis 5mg canada brand phenazopyridine 200mg symmetrel 100mg price
revia 50mg without prescription oral femara 2.5 mg buy aripiprazole 30mg pills
avlosulfon online order buy allegra 120mg for sale buy generic perindopril 8mg
provera 5mg cheap praziquantel us cyproheptadine price
luvox oral ketoconazole 200mg us glucotrol online order
order isotretinoin generic order isotretinoin 10mg pill deltasone 5mg generic
buy furosemide generic furosemide 40mg generic buy hydroxychloroquine
order chloroquine pills buy olumiant online cheap baricitinib medication
itraconazole for sale buy itraconazole 100mg tinidazole 500mg generic
order glycomet online free shipping cialis cialis next day
zyprexa pill nebivolol online purchase diovan generic
buy clozaril 100mg pills clozaril tablet order decadron 0,0,5 mg pills
guaranteed viagra overnight delivery usa purchase lisinopril online cheap order lisinopril 2.5mg sale
zyvox without prescription order linezolid sale casino online real money
order cialis sale buy cialis 40mg pill sildenafil 100mg us
buy zyloprim without prescription order rosuvastatin 20mg for sale ezetimibe oral
purchase cozaar topiramate brand purchase topiramate without prescription
order sumatriptan online generic avodart avodart 0.5mg generic
cost gloperba best casino online online gambling for real money
order zantac 150mg generic celecoxib 100mg oral order celecoxib 200mg for sale
free online blackjack online roulette game free spins no deposit us
cialis 20mg for sale buy generic ciprofloxacin 500mg cipro 500mg over the counter
order zocor 10mg sale buy generic valtrex 1000mg buy propecia 1mg generic
poker game gambling games tadalafil 5mg for sale
letter writing services order stromectol 3mg online cheap stromectol pill price
prednisone 10mg pills isotretinoin pill order amoxicillin 250mg online
order lasix 40mg sale hydroxychloroquine medication hydroxychloroquine for sale
deltasone ca buy mebendazole without prescription vermox 100mg tablet
order tretinoin cream generic order tadalis 20mg online buy avana 100mg for sale
buy tadalafil online cheap tadacip price indocin 50mg oral
spiriva 9 mcg without prescription buy minocycline 100mg for sale buy terazosin 5mg pills
cialis 10mg brand Cialis buy online casino games online
cialis buy online medication for ed dysfunction tadalafil 5mg us
real casino games play poker online free no sign up free casino slots
order generic nifedipine 30mg allegra 180mg canada buy allegra 180mg pill
gambling casino best canadian online pharmacy reviews best essay writers online
help with writing a research paper buy sulfasalazine 500mg sale sulfasalazine online buy
doxycycline pills doxycycline without prescription order cleocin sale
purchase benicar pills verapamil over the counter divalproex 250mg drug
diamox 250mg tablet buy generic imdur 40mg generic imuran 25mg
order digoxin 250mg generic lanoxin 250 mg cost order molnupiravir without prescription
amoxil 1000mg usa stromectol online order ivermectin malaria
brand carvedilol 25mg cost oxybutynin elavil 50mg price
order indomethacin 75mg pill cenforce 100mg sale cenforce canada
tadalafil cost brand plavix purchase trimox generic
esomeprazole 20mg us nexium ca buy lasix sale
minocin 100mg sale hytrin 5mg generic order terazosin pills
buy tadalafil generic ed pills comparison natural ed pills
purchase glycomet online cheap metformin 1000mg uk order tamoxifen 10mg pill
order provigil 200mg generic order modafinil 100mg pill promethazine 25mg canada
order deltasone 40mg for sale accutane 40mg brand brand amoxil 250mg
where to buy over the counter ed pills brand propecia 5mg order propecia 5mg
order ondansetron 4mg without prescription zofran 8mg pills cost sulfamethoxazole
buy generic accutane purchase amoxicillin without prescription order azithromycin 500mg without prescription
ventolin 4mg sale augmentin oral order augmentin generic
order modafinil 200mg generic modafinil 200mg tablet metoprolol 50mg cost
order avodart 0.5mg pill buy avodart 0.5mg sale orlistat order online
cost cefdinir order cefdinir 300 mg online cheap order pantoprazole pill
order simvastatin 10mg pills buy simvastatin 20mg sale buy sildalis online cheap
buy avlosulfon 100mg without prescription buy avlosulfon pill order atenolol online
cheap viagra sale canadian viagra and healthcare cialis online
buy ezetimibe medication methotrexate tablet order methotrexate online
buy coumadin 5mg online cheap buy metoclopramide 10mg without prescription order zyloprim online cheap
Everything is very open and very clear explanation of issues. was truly information. Click on the Keyword to Enter the Website. Wonodd
buy generic albendazole online buy albendazole 400 mg online cheap medroxyprogesterone 5mg ca
cheap lisinopril 2.5mg omeprazole 10mg usa order lopressor 50mg pill
buy pregabalin 150mg sale buy loratadine without prescription order dapoxetine
orlistat 60mg usa allopurinol 100mg drug generic allopurinol 100mg
purchase losartan sale purchase hyzaar for sale topiramate 200mg without prescription
oral rosuvastatin 10mg ezetimibe 10mg cheap domperidone price
buy zantac 150mg online buy cheap generic celebrex buy celecoxib without prescription
buy generic duloxetine over the counter cheap duloxetine 20mg buy piracetam 800 mg online cheap
purchase betnovate generic brand itraconazole 100 mg itraconazole for sale
combivent price combivent 100mcg oral brand zyvox
how to get simvastatin without a prescription order simvastatin 20mg online cost viagra
buy cheap generic cefadroxil lamivudine canada propecia pills
buy estradiol generic estrace 2mg drug order prazosin 2mg without prescription
order metronidazole 200mg online purchase bactrim pill generic cephalexin
avana 100mg pill how to get tadacip without a prescription order generic voltaren 100mg
order cleocin sale fildena oral fildena tablet
buy indocin tablets buy generic lamisil cefixime 200mg pills
buy nolvadex paypal ceftin uk ceftin cost
order careprost generic order trazodone 50mg pill order desyrel 50mg generic
suhagra online buy buy sildalis pill order generic sildalis
buy minocin paypal order minocycline 100mg generic pioglitazone 15mg sale
arava 20mg ca order viagra 50mg pills azulfidine 500mg sale
isotretinoin uk buy azithromycin without a prescription azithromycin for sale
furosemide 40mg canada order ventolin 2mg purchase ventolin inhalator generic
buy generic vardenafil oral tizanidine plaquenil 400mg cost
order ramipril 5mg without prescription where can i buy etoricoxib how to get etoricoxib without a prescription
mesalamine 800mg usa buy azelastine online cheap buy generic irbesartan over the counter
benicar 10mg drug divalproex 250mg tablet depakote 500mg cheap
acetazolamide drug imuran oral imuran over the counter