dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: mcco

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Ok so I figured out my last question and I have...

    Ok so I figured out my last question and I have one more question about this issue:

    How could I better format this function:


    public function save() {

    if (isset($this->_user['id'])) {...
  2. Thanks NogDog. Yes I know about prepared...

    Thanks NogDog. Yes I know about prepared statements, I am just trying to get the functionality down first then I will work on the security. For some reason when I attempt to use this code:


    ...
  3. Thanks, that worked for that issue but now I am...

    Thanks, that worked for that issue but now I am having issues with updating the database in the save() Here is the function: Can you look over it and see where I am messing up?



    public function...
  4. Cant seem to figure this OOP issue out (new to OOP but not PHP)

    I keep getting a fatal error message "Fatal error: Call to a member function save() on a non-object"
    Here is my code. If anyone can help me figure this out it would be great. I am new to OOP (its a...
  5. Replies
    3
    Views
    2,115

    Well the main thing that pops out to me is that...

    Well the main thing that pops out to me is that you set the variable $telephone twice here



    $telephone = $_POST['telephone'];
    $telephone = $_POST['custom'];


    I am not sure what you are...
  6. Replies
    12
    Views
    3,391

    Ok so we have good news! I have figured out the...

    Ok so we have good news! I have figured out the problem as it was that transactions in the json request was not an array but an object so I had to use


    $request['transactions'][0] = array(

    so...
  7. Replies
    12
    Views
    3,391

    Sorry I forgot to post but I noticed that and...

    Sorry I forgot to post but I noticed that and fixed it and I am still getting the same error here is my print_r of my json request:



    {
    "intent": "sale",
    "redirect_urls": {
    ...
  8. Replies
    12
    Views
    3,391

    Ok we are making some headway but I am still...

    Ok we are making some headway but I am still receiving the same error message. I check with your json link above and my json is valid. here is the error message I am receiving from Paypal in...
  9. Replies
    12
    Views
    3,391

    Ok so I have traced my problem back to where I...

    Ok so I have traced my problem back to where I try to dynamically add items to the array with array_push. It seems my json string says null where it is supposed to have the information. Using the...
  10. Replies
    12
    Views
    3,391

    Sorry for not being clear. I am trying to send a...

    Sorry for not being clear. I am trying to send a payment request using the Paypal REST Api system with a payment method of paypal. I am getting it to work using your last code to process the payment...
  11. Replies
    12
    Views
    3,391

    So would I move my entire call to the api inside...

    So would I move my entire call to the api inside the class then? I am confused as I have never used the class system.

    Can I do this without using the class and public/private functions or will my...
  12. Replies
    12
    Views
    3,391

    Help finding the cause of this error

    Hello

    I am working with Paypal REST apis and I am having a hard time finding my error. I have read all the documentation and cant seem to find a solution so I thought I would try you guys for some...
  13. Replies
    2
    Views
    735

    For the first question... You just need access to...

    For the first question... You just need access to the files that make up the website, should be able to find them on godaddy, then just load them in dreamweaver.

    For the second question... I would...
  14. Replies
    1
    Views
    1,595

    Help with Troubleshooting

    Ok here is the code I am using:



    if (mysqli_more_results($link)) {
    mysqli_next_result($link);
    }


    I am using this because I am running multiple stored procedures on the same page. The...
  15. Replies
    4
    Views
    2,611

    Thanks, simplypixie you answer fixed the...

    Thanks,

    simplypixie you answer fixed the issue. I should have thought of that, as you can tell it was a long night last night.
  16. Replies
    4
    Views
    2,611

    Sure, ...

    Sure,

    http://www.test.sportdirections.com/shop/landscape/
  17. Replies
    4
    Views
    2,611

    issue with floating divs into columns

    Hey guys,

    I am having a small issue that I cant seem to figure out. I am making three columns with css and they are lining up great except for the fact that after a couple the lineup breaks and...
  18. Replies
    4
    Views
    4,109

    Tried your suggestion but no luck. Still getting...

    Tried your suggestion but no luck. Still getting the same error message.
  19. Replies
    4
    Views
    4,109

    Sessions warning since upgrading to php 5.5

    I had been using php version 5.2 and everything was working fine but when I upgraded to version 5.5 I started getting a warning saying:


    Warning: session_start(): Cannot send session cache...
  20. Replies
    7
    Views
    973

    Yes that is how you do mod_rewrite. My redirects...

    Yes that is how you do mod_rewrite. My redirects work fine but the url changes dont seem to work.
  21. Replies
    7
    Views
    973

    Thanks for the reply but for some reason I still...

    Thanks for the reply but for some reason I still can not get it to work. I got it to say


    http://www.example.com/page/?id=119


    but that is not right and returns an error.
  22. Replies
    7
    Views
    973

    Apache mod_rewrite help

    Hi everyone,

    I couldnt find a forum on this specifically so I thought I would ask in the php forum. I am looking to re-write my urls from



    http://www.example.com/page.php?id=119


    to
  23. Replies
    1
    Views
    1,469

    HTML 5 data attribute with ajax request

    I am writing an ajax request and I want to use information appended to the html5 data attribute and attach that as a name-value pair for a $_GET request. I know how to set up the ajax request I just...
  24. [RESOLVED] WOW What an easy fix that I missed

    Hey guys I feel stupid, I accidentally made the ad id a class in the html so that was throwing the entire thing off. I went back and fixed it so it works fine now. Thanks for all your help.
  25. Thank you for your reply. I have updated my code...

    Thank you for your reply. I have updated my code making it a little more specialized for my situation but I am still having the problem of the browser following the links when they are clicked. I am...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles