In a message dated 8/14/01 3:23:54 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
Could anyone point me in the direction of some PHP shopping cart scripts?
Thanks,
Christopher Raymond
I'm sure they have one:
http://hotscripts.com/PHP/Scripts_and_Programs/
Pat
I am making a site where people get 3 free months from when they register.
In a table I have 2 different fields; 1 for when they register, and another I
want exactly 3 months later. I have this code:
Oops..(Hit send prematurely.)
$currentmonth = date(m);
$currentday = date(d);
$year = date(Y);
$newmonth = $currentmonth + 3;
if ($newmonth 12){
$newmonth = $newmonth % 12;
$year = $currentyear + 1;
}
$3months = date(Y-m-d,mktime(0,0,0,$newmonth,$currentday,$year));
This
www.devshed.com
www.phpbuilder.com
www.thickbook.com
www.phpwizard.net
hotwired.lycos.com/webmonkey/programming/php/
www.hotscripts.com is great for finding php scripts that are available
hth,
Pat
?
$to = [EMAIL PROTECTED]; [EMAIL PROTECTED];
$subject = Subject here;
$message = Message here;
$from = [EMAIL PROTECTED];
mail($to, $subject, $message, $from);
?
That should do it.
Pat
In a message dated 7/31/01 12:32:59 AM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
How do I search an array?
For example if I want to know if $array contains 1...
Regards,
Matthew Delmarter
for ($i = 0; $i count($array); $i++)
{
if ($array[$i] == 1) {
//do
6 matches
Mail list logo