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
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))
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:
That should do it.
Pat
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
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) {
I was wondering what I would have to do in order to have index.php load up
automatcially when someone went to my domain. IE if they go to
www.mydomain.com and I have index.html or index.htm there then those pages
get loaded first. How could I do it so index.php, index.php3, index.phtml
were
Is it possible to send an array of numbers into a php file through a url?
Like if I have a file that adds numbers together, could I send it
www.domain.com/add.php?num=2,3,4,5
$num would be an array.
Thanks,
Pat
I'm developing an area on my site where clients will have access to certain
things that nonclients don't. They each have a login and password and stuff
like that. I'm using sessions so members can move from one page to the next
w/o typing in their info everytime. This works so great in IE.
9 matches
Mail list logo