Hi
you can use php to write the html to a file, rather than having to do it all
manually.
Look at
fopen()
Not sure if this is exactly what's needed, but it might be.
HTH
Peter
---
Excellence in internet and open source software
Here is a simple cart, but should give you the idea.
Cheers!
-J
?
switch($action) {
# Add to cart
case 'add':
$_SESSION['cart'][$id] = array('name'=$name,'price'=$price,'qty'=$qty);
break;
# Remove from cart
case 'remove':
# Remove item
No that wouldn't work because the formatted page looks
quite different from the page she uses for admin.
I've been looking for some samples for fopen() coding,
cause I'm relatively new to this PHP game, I think
I've found an example that might be useful though so
I'll play around a bit and see
Dear all,
I'm using the $REMOTE_ADD variable to get the visitor IP address, but when a
visitor access my website throught a proxy server I get always the same ip
of that proxy server.
Is there a way to get the unique IP of each users???
bst rgds
Hayan
--
PHP Database Mailing List
I'm sorta new at php, as most of my experience is in ASP...so I need a
little help.
I am making a next upcoming event script. Basically, I want to be able to
put into mysql a description of the even and a date where the posting should
start, and I want to be able to make it show the most
On Sunday 12 May 2002 21:49, Hayan AL Mamoun wrote:
Dear all,
I'm using the $REMOTE_ADD variable to get the visitor IP address, but when
a visitor access my website throught a proxy server I get always the same
ip of that proxy server.
Is there a way to get the unique IP of each users???
If
On Sunday 12 May 2002 13:37, Thomas \omega\ Henning wrote:
And how can i use it?
I suppose the manual will have full details.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications Development
Take a look at the following page:
http://www.cgsa.net/php/identifierShow.php
The script for getting the original ip-address is quite good.
hth
Sebastian
--
Tschiatschek Sebastian, [EMAIL PROTECTED] | System Consulting
Graz, AUSTRIA / High Availability/Cluster
Mobile:
i get $postdate from my mysql database,the problem is that i want to increase that
date by 6 months??
its stored in mysql as date field
i get $postdate from my mysql database,the problem is that i want
to increase that date by 6 months??
its stored in mysql as date field
http://www.mysql.com/doc/D/a/Date_and_time_functions.html
check DATE_ADD :)
hth
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
I'm sorta new at php, as most of my experience is in ASP...so I need a
little help.
I am making a next upcoming event script. Basically, I want to be able to
put into mysql a description of the even and a date where the posting should
G'day All,
I'm using php to query a mysql db and I need to display a word count from
one of the columns and multiply it to get a quote.
So far I have this:
$thewords = count(split ( ,$adtext));
$thequote = round(($thewords * .78),2);
In an example with 35 words it returns 27.3 but I'd like it
Hi all,
Wondering if you could help or point me to a tut where I can use a link to
get the next record in the db?
Like a href='php.php'Previous record/aa href='php.php'Next record/a
How do I go about doing this.
Thanks
Jennifer
--
The sleeper has awaken
---
Outgoing mail is certified
jen,
assuming you are currently looking at a page which is something like
php.php?record=3, then you should be able to just do
a href='php.php?record=?php echo ($record-1) ?'Previous record/aa
href='php.php?php echo ($record+1) ?'Next record/a
and then on the php.php page, you would obviously
14 matches
Mail list logo