Search found 8 matches

by jeiman
Thu Dec 29, 2005 4:35 am
Forum: PHP - Code
Topic: code to save data in db into text
Replies: 3
Views: 226

code to save data in db into text

Has someone has a script to read data from db(mysql) and then save all the data as a text.txt. I need the code because I want to perform vertical text sliding.
by jeiman
Sun Sep 19, 2004 11:57 pm
Forum: PHP - Code
Topic: script to automatically create username and password
Replies: 1
Views: 250

script to automatically create username and password

Is there any sample scripts that can create username and password automatically. I have a system where people can register by giving their details. But then I make a decision either to approve or not. If I'm approved, then I want my system capable to create username and password automatically for th...
by jeiman
Sat Jan 18, 2003 2:08 am
Forum: Databases
Topic: union not allowed
Replies: 2
Views: 712

Thanks LM, But then I don't really know the tree select query. Can you show me how. My 3 tables are products, specifications and companies. My query using UNION is: $word_var = "% any_words %"; "SELECT id, name FROM specifications WHERE name LIKE '" . $word_var . "' OR descr...
by jeiman
Fri Jan 17, 2003 3:12 am
Forum: Databases
Topic: union not allowed
Replies: 2
Views: 712

union not allowed

I have 3 tables where I want to search a result in both 3 tables. The problem is I just realize my MySql version 3, not allowed me to use UNION syntax. Is there any other way where I can get the result as same as UNION without using UNIon command??
Any help please..
by jeiman
Mon Sep 30, 2002 12:32 am
Forum: PHP - Code
Topic: any cms editor for templates
Replies: 0
Views: 315

any cms editor for templates

I'm create my php site using smarty template. My site has cms for customer. I would like to replace the textarea with cms editor. The problem is I cannot find any cms editor that can be use together with my smarty template. I'm really appreciate if someone can tell me what cms editor can be used wit...
by jeiman
Thu Sep 12, 2002 5:07 am
Forum: PHP - Code
Topic: To display Timestamp nicely
Replies: 5
Views: 1316

To display Timestamp nicely

I read a date from db in timestamp(14) format(YYYYMMDDHHMMSS). What is the function in php should I use to display the date in nice format such as dd-mm-yyyy hh:mm:ss am/pm. I have tried strtotime, strftime, getDate function but it's not working. Can somebody help me to solve the problem. Thanks guy...
by jeiman
Thu Jul 18, 2002 3:42 am
Forum: PHP - Code
Topic: configure php & apache on windows
Replies: 3
Views: 905

Thank you guys. in my httpd.conf, I'm not using Loadmodule but I use ScriptAlias so I can't find loadmodule line. However, I already overcome this problem by using FoxServ, where its includes php, mysql, apache, perl in 1. It easy to install and got control panel too. I love FoxServ very much.
by jeiman
Wed Jul 17, 2002 5:24 am
Forum: PHP - Code
Topic: configure php & apache on windows
Replies: 3
Views: 905

configure php & apache on windows

Hi, I'm new to php. I running php on windows and using apache as web server. In php.ini, I set my doc_root = myPhp. I can view the phpinfo.php if the phpinfo file is place in myPhp folder. However, if I create subfolder, eg:admin in the myphp folder and I placed file phpinfo.php in the admin folder,...