Simple question, what is the function for doing simple MATH
calculations?
For example:
10 + 10
James
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I want to create a sort of log/text file, everytime I run a query or
something I would like to write/append it to a text file. Does anyone
know what function I can use for this? Or even any examples?
Cheers
James
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Hi,
You can use something like this:
$todaydatetime = date("Y m d G:i");
That will translate into:
2002 11 07 18:12
or if you want to us 12hour clock try this:
$todaydatetime = date("Y m d g:i");
That will translate into:
2002 11 07 6:12
(changed G (hour, 24-hour format without leading zer
ssage-
From: Ignatius Reilly [mailto:ignatius.reilly@;free.fr]
Sent: Fri 25/10/2002 12:57
To: James Meers; PHP Helplist Windows
Cc:
Subject: Re: [PHP-WIN] MySQL Query
arrays are not a datatype for MySQL.
i want to update a field and add an array, this is what i have so far, however it
doesnt work, can anyone help?
update user_table set categories in ('5','6') where userid='1'
James
Hi,
I am trying to use the mail function, below is the code i am using:
mail( "[EMAIL PROTECTED]","test","This is a test mail" );
I get an error:
Warning: Server Error in F:\milinksroot\test.php on line 2
Does anyone know what i should be looking for to rectify this problem?
CHe
Im new to PHP, so I don't know what you mean here?
-Original Message-
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2002 13:14
To: James Meers; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Capturing IP Address
_SERVER["R
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
getting a list of all new users.
I need to know how to put the list into the message part of the mail function?
Jambo
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2002 17:12
To: James Meers
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Query within Mail Function
Hi,
Please bear with my limited knowledge of PHP...
Does anyone know if it is possible to code a sql query within the message part of the
mail function, e.g.:
mail( "$to_mail","$sumject","
$sql = mysql_query("select * from table")
or die("error with query\n");
while ($row =
Does anyone know how to create a cookie that doesn't expire?
Jambo
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Does anyone know any good PHP reference/learning sites for understanding
how to use Cookies with PHP?
Cheers
Jambo
Sorry, its not a PHP problem, it's a MySQL problem.
I am trying to do a MySQL query below:
select top 10 * from table order by record_number desc
However, I am getting the following error:
You have an error in your SQL syntax near '10 * from table order by record_number
desc' at line
Hello,
I have this form and its just not picking up the submit variable however
it is posting them!!!
Can someone double check this, what have i done?
James
\n";
}
if (isset($submit)) {
mysql_query("INSERT INTO $ntable VALUES
('
gt;news:[EMAIL PROTECTED]
...
Try adding IWAM_Machinename
-Messaggio originale-
Da: James Meers [mailto:[EMAIL PROTECTED]]
Inviato: lunedì 22 aprile 2002 10.50
A: [EMAIL PROTECTED]
Oggetto: [PHP-WIN] PHP on IIS5 WIN2K Problem - Help?
I have installed PHP on my server and it works fine, howev
I have installed PHP on my server and it works fine, however, whenever
executing a script in a new browser window, i always get prompted to enter a
username and password!?
I have given 'everyone' and 'I_USER' full access to the folder and IIS
This is probably a school boy error, anyone know wha
16 matches
Mail list logo