willpower
-
Posts
296 -
Joined
-
Last visited
Posts posted by willpower
-
-
google it.
basicaly each payment gateway has a unique method of passing the variables from yoursite
ie on paypal you can chose to create a one line aggregated basket total over or an itemised order...the choice is yours. Of course then all the handling of CC's is done by them.
Other gateways just handle the processing of the card such as Protx.
I will be honest here. I'd suggest that if you are serious about this job...you'd better hurry.Full time e-commerce is not for the faint-hearted. Lots and Lots of code to disect even with pre-built apps such as 'oscommerce'
In all custom built cases you will need a shopping cart functionality (like 'oscomerce'), a payment processing functionality (like 'Protx') a Internet Merchant account (like mega expensive to maintain ...lol) to recieve your payments and finally sh*t loads of time and brains.
Will
-
here the ' and the " are both escaping the string to be added
so the '<div..... is being escaped at '
so it should become
$info = "var point = new GLatLng(" . $location . ");";
$info .= "var marker = createMarker(point,\"$name\",\'<div etc.... -
i wrote my own script to enable the background images to fit with the style of the site (sad...i know)
I can let you have the full scirpt if you want. It is rather simple but in princple it does this.
Sets a background image from a folder.
Opens a fonts folder
Selects a random font
selects a random number from 0-9
repeats this to get a series of 5 numbers in random fonts (and x,y co-ords)
Then generates a complete image with session variable.
Let me know if this would be of use -
-
What do you mean....HOtmail wont accept it. Is it returned or confined to junk.
-
Whilst clean.....
a) The text is hard to read as it lacks contrast.
b) It doesnt validate - no doc type...big no no
c) YOu could easily do this with CSS...why not have a go rather than using tables.
Will -
-
post your complete code with the integration of the validation....it may just be in the wrong place. Then we can solve your issue
-
After all this time...i have noticed an issue...Capricorn comes last in the list rather than between sag and aquarius.
Current list reads
leo: correct
Virgo : correct
Libra: correct
Scorpio :correct
Sagitaruis: correct
Aquarius : correct in that it has looped back to the start but capricorn omiited
Pisces: correct
Aries : correct
Taurus : correct
Gemini : corect
Cancer : correct
Capricorn : god damn it
Any clues?
PS is it to do with the fact that capricorn starts in month 12 and ends in month 1 -
What can i say....THANK YOU
-
lol. Thanks so much for your help....its now worse and starts with some other star sign ;)
I bow to your greatness....regardless of how many mistakes you make!!!
Will -
oh....so close. I wish i understood the query.
I now get the order i want but the starting record is out by one...i get virgo rather than libra....by the way...i hate horoscopes.
any ideas?
Will -
ps could you explain what that should have done so i can try and amend it also?
Thanks -
that gives me a sytax error
-
hi i have a startd and startm field - and a endd and endm
ie
startd = 22
startm = 07
endd = 23
endm = 08
And yes I want them to display in chronological order. so if capricorn was the current sign I want to display the ALL but starting with capricorn...or if it were gemini the same etc.
Hope that makes sense
-
Well sort off.
I establish the date. I then want to go to a db containing start signs and find out which is the current star sign based on the date. I then want to list all start signs starting with the most current.
ie Records retrieved could be in this order
5
6
7
8
9
10
11
12
1
2
3
4
I have lost the plot on this...can anyone help me to do this???
Thanks in advance
will
-
I may be barking up the wrong tree here...but have you tried declaring the $vars at ie:
$action=$_GET['action'];
$userid=$_GET['userid........and so on
This should enure that the vars contained in the url are read and utilised.
-
Hi
AAt the end of a page I have two buttons...a yes...and a no. This is to alloe the user too vaidate that they have enetered their information correctly befor proceeding.
Now I need to submit the form to self. The action in the form is correct, however i am trying to do the
if (isset($_POST['NO'])) { do this}
if (isset($_POST['YES'])) {do that}
Should this work in principle or does this only work with a 'submit' button.
Thanks
Will
-
Hi
instead of having
<?
mysql_free_result ($Recorsedt1);
mysql_free_result ($Recorsedt2);
mysql_free_result ($Recorsedt3);
mysql_free_result ($Recorsedt4);
mysql_free_result ($Recorsedt5);
?>
is there a way to
<?
mysql_free_result (*****all****);
?>
This would allow me to add this to my footer insted of ending different bits on different include files...all of which i am finding very messy!
Thanks
Will
-
Thanks matey!
Hope you are well
Will -
Hi
I have a variable stored in a DB using the DATETIME method
I now need to format that
I can format using the $now=date (jS, M etc) method
but how do I do it for a defined variable from the DB?
Thanks
Will -
$image= "my variable from the sql query"
if ($img<>"") {do this }
Thats pretty much it...a simple conditional statement.
-
Thanks Andy
I was going at it in a for more complicated manner....not separating the days and the hours. I looked at your response and thought...bloody hell hes missed the point!
BUT...as ever....I was wrong and when I re-read it....the obvious became clear.
If only comon sennse was common practice.
Thanks Mate
Will -
Hi
I want to add a NOW ON AIR LIVE notification to my website. Basically I need to check the current time and then check to see if this time matches or is between thursday 7pm and thursday 10 pm.
I have no idea how to check the time within a time span....any ideas?
Thanks
Will
[SOLVED] PHP code not running
in PHP Coding Help
Posted