Hi,
I have stored the date and time in mysql table with DATETIME
type.
I want to change it in to DD/MM/ HH:MM AM or PM.
How can I do this?
Thanks in advance
Balaji
**Disclaimer
Information
Do you want to do this in mySQL or PHP?
Niklas
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 12. maaliskuuta 2002 12:30
To: 'Php-General'
Subject: [PHP] Hi How to convert the time from mysql(DATETIME) table to
the format DD/MM/ HH:MM AM or PM in PHP?
Hi
Thankyou for reply!!
I want to do it in PHP.
Thanks in advance
Balaji
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 4:04 PM
To: Php-General
Subject: RE: [PHP] Hi How to convert the time from mysql(DATETIME) table
to the format DD
Hi,
I have stored the date and time in mysql table with DATETIME
type.
I want to change it in to DD/MM/ HH:MM AM or PM.
How can I do this?
When you select the 'datetime' field from mysql use UNIX_TIMESTAMP().
Then in PHP use strftime() to format the 'datetime'
You have to parse your dates in anyway you like best to pieces, then use
mktime() and then date() function. :)
Niklas
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 12. maaliskuuta 2002 12:35
To: [EMAIL PROTECTED]; 'Php-General'
Subject: RE: [PHP] Hi How
] Hi How to convert the time from mysql(DATETIME) table
to the format DD/MM/ HH:MM AM or PM in PHP?
Hi,
I have stored the date and time in mysql table with DATETIME
type.
I want to change it in to DD/MM/ HH:MM AM or PM.
How can I do this?
When you select
Hi,
I would like to compare the two dates (including time stamp)
using php.
Is it possible?
Any help would be apprciable.
Thanks in advance
Balaji
**Disclaimer
Information contained in this E-MAIL
On Tue, 12 Mar 2002, Balaji Ankem wrote:
http://www.php.net/manual/en/function.strtotime.php
you can compare the results with =, etc...
Hi,
I would like to compare the two dates (including time stamp)
using php.
Is it possible?
Any help would be apprciable.
Thanks
: Tuesday, March 12, 2002 6:40 PM
To: Balaji Ankem
Cc: Php-General
Subject: Re: [PHP] Hi How to compare two dates using PHP which are from
mysql database?
On Tue, 12 Mar 2002, Balaji Ankem wrote:
http://www.php.net/manual/en/function.strtotime.php
you can compare the results with =, etc...
Hi
Why not compare them in the SQL Query itself?
Jason Lotito
www.newbienetwork.net
- Original Message -
From: Balaji Ankem [EMAIL PROTECTED]
To: 'Jan Rademaker' [EMAIL PROTECTED]
Cc: Php-General [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 8:37 AM
Subject: RE: [PHP] Hi How to compare
On Tuesday 12 March 2002 19:43, Balaji Ankem wrote:
Hi friend,
I never ued strftime function. I am confusing with the syntax.
My problem is like this:
I have the DATETIME in the variable $row-fromdate as -MM-DD
HH:MM:SS.
Is it possible to convert it to
Subject: Re: [PHP] Hi How to compare two dates using PHP which are from
mysql database?
On Tue, 12 Mar 2002, Balaji Ankem wrote:
http://www.php.net/manual/en/function.strtotime.php
you can compare the results with =, etc...
Hi,
I would like to compare the two dates (including
On Tue, 12 Mar 2002, Jason Lotito wrote:
Why not compare them in the SQL Query itself?
That could work just as well, depending in what you want to do with the
data.
--
Jan Rademaker [EMAIL PROTECTED]
http://www.ottobak.com
--
PHP General Mailing List (http://www.php.net/)
To
TRTDINPUT type=text name=mytext/TR
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:12 AM
To: Php-General
Subject: [PHP] Hi can we write a form inside td element of a table?
Hi,
can we give a form element as td inside table
Try
date(d/m/Y h:m A);
On Tuesday 12 March 2002 18:29, Balaji Ankem wrote:
Hi,
I have stored the date and time in mysql table with DATETIME
type.
I want to change it in to DD/MM/ HH:MM AM or PM.
How can I do this?
Thanks in advance
Balaji
--
PHP General Mailing
, March 13, 2002 7:04 AM
To: Balaji Ankem; 'Php-General'
Subject: Re: [PHP] Hi How to convert the time from mysql(DATETIME) table
to the format DD/MM/ HH:MM AM or PM in PHP?
Try
date(d/m/Y h:m A);
On Tuesday 12 March 2002 18:29, Balaji Ankem wrote:
Hi,
I have stored the date and time
Title: Message
Hi friend, could u plz. Tell me how
to display the slected option value in alert box?Code I wrote is like
this.. But I am getting NULL.. Any help would be
appreciable..=html
head
script
language="Javascript"function
check(){ var
a;
guess that should be:
alert(document.babai.bongu.selectedIndex);
Greets,
Edward
- Original Message -
From: Balaji Ankem [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 11:23 AM
Subject: [PHP] Hi problem with selected value!!
Hi friend,
could u
Hi,
can we give a form element as td inside table element?
Thanks in advance
Balaji
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended
Hi everybody,
I am new in this group,so could any one tell me how to start learn PHP?
I had install PHP in IIS so where is good place to start
Thanks in advance
Regards
Dharmavatar
--
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp
Hi dharma
Better go about PHP manual ( since I started with that ).
when you finish that, you would have some idea on where to go further.
On Thu, 28 Feb 2002, dharmavatar wrote:
Hi everybody,
I am new in this group,so could any one tell me how to start learn PHP?
I had install PHP
dharmavatar wrote:
Hi everybody,
I am new in this group,so could any one tell me how to start learn PHP?
I had install PHP in IIS so where is good place to start
Thanks in advance
Regards
Dharmavatar
wwwdevshedcom has some excellent beginners tutorials in their PHP
section (the PHP 101 series)
http://www.phpbuilder.com is an excellent site. Features articles and
tutorials!
Good luck
Andy
Simon Willison [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED];
dharmavatar wrote:
Hi everybody,
I am new in this group,so could any one tell me how to start learn PHP?
I had
1st
How to start a cookie/how to delete a cookie and how to change/retrive
information from it
2nd
How to start a session/how to delete a session and how to change/retrive
information from it
3rd
does php have application like asp??
4th
sessions, can they be accessed from an asp script
You've got an interesting mix of PHP and HTML questions, and some reading
will be required.
At 01:56 AM 1/31/2002 +0100, Pafo wrote:
1st
How to start a cookie/how to delete a cookie and how to change/retrive
information from it
Search Netscape's site for something like developer cookie.
At 02:14 PM 1/31/2002 -0500, Michael Kimsal wrote:
snip
4th
sessions, can they be accessed from an asp script and the other way round?
No, they cannot. They are specific to PHP.
not directly, but an ASP script on the same domain should be able to read
the cookie storing the session ID, then
DEAR FRIEND!
If You show some interest and patience, and visit
http://www.escalix.com/freepage/goldflow/, You can earn up to $100,000 and
more during the following 120 days - it depends only on You. DOES IT SEEMS
TO BE IMPOSSIBLE??? Just visit link below and read attentively to be sure
there is
Hi, what z wrong in this code??
?php
echo a href=\?php show_source('source.php')?\view
source/abr/br/;
?
I am getting the following error
Forbidden
You don't have permission to access / on this server.
---
-
Fixed:
?php
echo a href=\show_source('source.php')\view
source/abr/br/;
?
- seb
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 10:25
To: [EMAIL PROTECTED]
Subject: [PHP] hi
Hi, what z wrong in this code??
?php
echo a href=\?php
: September 10, 2001 5:30 PM
To: Balaji Ankem; [EMAIL PROTECTED]
Subject: RE: [PHP] hi
Fixed:
?php
echo a href=\show_source('source.php')\view
source/abr/br/;
?
- seb
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 10:25
To: [EMAIL PROTECTED]
Subject
and what about this one?
?echo a href=.show_source('source.php').view source/abr;?
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, September 10, 2001 12:19 PM
Subject: RE: [PHP] hi
It still won't work though
-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 10:25
To: [EMAIL PROTECTED]
Subject: [PHP] hi
Hi, what z wrong in this code??
?php
echo a href=\?php show_source('source.php')?\view
source/abr/br/;
?
I am getting the following error
Forbidden
Hi, Renze,
I have one doubt in HTML. I should not ask this in this group. I don't have
any alternative. Please consider this.
How to increase the length of the select box. It is comming width as very
less.
I would like to increase that width.
see the following code..
BODY
]
To: Renze Munnik [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 11:40 AM
Subject: [PHP] hi
Hi, Renze,
I have one doubt in HTML. I should not ask this in this group. I don't
have
any alternative. Please consider this.
How to increase the length of the select box
Hallo,
my ISP doesn´t support natcasesort(),
can anybody tell me how to write a cmp function?
I couldn´t find a documentaton about it.
Sorry for my bad english I´m german.
Greetings
Dyo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello everyone,
I am very new to PHP (only 2 days now!), and I am having a problem with
MySQL.
This is probably simple.
Ok, I insert a new row into a database that has an AUTO_INCREMENT key
defined.
How to get the value of the AUTO_INCREMENT field of the row I just inserted?
My database
On Thu, 26 Jul 2001 09:47, Dana Holt wrote:
Hello everyone,
I am very new to PHP (only 2 days now!), and I am having a problem with
MySQL.
This is probably simple.
Ok, I insert a new row into a database that has an AUTO_INCREMENT key
defined.
How to get the value of the AUTO_INCREMENT
When i install PHP.
Do i have to make anything special to activate the ldap function?
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
On Mon, 21 May 2001, Alexander Wagner wrote:
Michel 'ZioBudda' Morelli wrote:
Hi, I want to save into a variable ($tmp) the value of
highlight_string command. Any one? or any similar function?
Have a look at PHP 4's output buffering functions. You can use them to
safe the output instead of
Hi, I want to save into a variable ($tmp) the value of highlight_string
command. Any one? or any similar function?
--
SORDOMUTO TENTA DUE RAPINE MA NON RIESCE A FARSI CAPIRE
(Dai Giornali)
--
Michel ZioBudda Morelli [EMAIL PROTECTED]
ICQ UIN: 58351764 PR of
Michel 'ZioBudda' Morelli wrote:
Hi, I want to save into a variable ($tmp) the value of
highlight_string command. Any one? or any similar function?
Have a look at PHP 4's output buffering functions. You can use them to
safe the output instead of displaying it.
regards
Wagner
--
Some guy
with the variable HTTP_REFERER you go to the previous page.
That means one page back in time.
But how do go two pages back?
Anyone have suggestions. Thanks for all the help you can give.
//Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
:10
To: Johan Vikerskog (ECS); php-general
Subject: RE: [PHP] Hi!
You can so this with JavaScript:
A HREF = history.go(-2)Go back Two Pages/A
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
To: Johan Vikerskog (ECS); php-general
Subject: RE: [PHP] Hi!
You can so this with JavaScript:
A HREF = history.go(-2)Go back Two Pages/A
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
Jorge Amaya wrote:
I am new user of php, I have installed apache 1.3.x, php3 and mysql, but
I have a problem, My navigator doesn't recognize the files of php3, that
is to say it doesn't work me php in the navigator, I have configured
such and like says the manual in php.ini and also in the
On Thursday 03 May 2001 09:55, Jorge Amaya wrote:
I am new user of php, I have installed apache 1.3.x, php3 and mysql, but
I have a problem, My navigator doesn't recognize the files of php3, that
why install php3, not php4 ?
is to say it doesn't work me php in the navigator, I have
Hello All
I am new user of php, I have installed apache 1.3.x, php3 and mysql, but
I have a problem, My navigator doesn't recognize the files of php3, that
is to say it doesn't work me php in the navigator, I have configured
such and like says the manual in php.ini and also in the directives
Jorge Amaya wrote:
Hello All
I am new user of php, I have installed apache 1.3.x, php3 and mysql,
but I have a problem, My navigator doesn't recognize the files of
php3, that is to say it doesn't work me php in the navigator, I have
configured such and like says the manual in php.ini
you need to tell apache that .php3 or .php or whatever extension you're
using is a web file.
this is done in the httpd.conf file.
Jorge Amaya wrote:
Jorge Amaya wrote:
Hello All
I am new user of php, I have installed apache 1.3.x, php3 and mysql,
but I have a problem, My navigator
Subject: [PHP] Hi, new guy here!
Hello! My name is Brian Potter and I just finished the PHP Fast and Easy Web
Development book. A friend of mine suggested I subscribe to this list. I am
eager to interact with all of you! I do a webpage for my youth group as well
as various professional web pages. I
Hello! My name is Brian Potter and I just finished the PHP Fast and Easy Web
Development book. A friend of mine suggested I subscribe to this list. I am eager to
interact with all of you! I do a webpage for my youth group as well as various
professional web pages. I appreciate all of your help
101 - 151 of 151 matches
Mail list logo