start date insertion for pHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

listguy
Forum Newbie
Posts: 12
Joined: Sun Jul 01, 2007 5:46 pm

Post by listguy »

I understand what it's calling for , but am not sure WHERE to put that "code" you gave me.
Do I replace the "date" in between the the quotes? "" with the info you gave me?

I did that and it made an error.

Thats the part I don't know what to do.

I warned you I know nothing about PHP.I'm not lazy either.

I understand that it calls for the time, but how do I get it to change in the string of code?
Do I put it somewhere special?

<?php InsertSubscriptionSignature("20.00", "20070207", "monthly", "12", "true") ?>
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Code: Select all

InsertSubscriptionSignature("20.00", date('Ymd'), "monthly", "12", "true")
This is a conclusion I was trying to get you to come up with yourself.
listguy
Forum Newbie
Posts: 12
Joined: Sun Jul 01, 2007 5:46 pm

Post by listguy »

Let me try that. BRB.
listguy
Forum Newbie
Posts: 12
Joined: Sun Jul 01, 2007 5:46 pm

Post by listguy »

It worked great.

Awesome.


The problem I had before was leaving the "" quotes there just like all the other parameters had.

Thanks so much for your help and teaching. Really.
Post Reply