Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    11
    Rep Power
    0
    Hi ptr2void,

    Thanks for your reply.

    I deleted all the records in the table and even on the first insertion it gives the same error, taking out the possibility of what you pointed out.

    Thanks
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 2003
    Posts
    3,230
    Rep Power
    593
    I'm finding it increasingly harder to believe you are posting the actual code you are running.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #18
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    11
    Rep Power
    0
    Hey Guys,

    Thanks for all your help. I finally got it sorted.. Guess it was the issue with google chrome.

    Tried in firefox and it worked, this is what I got when I did

    Code:
    echo "<pre>"; 
    var_dump($stmt); 
    echo "</pre>";
    Code:
    <pre>
    resource(10) of type (SQL Server Statement)
    </pre>
    Thanks again you guys..
  6. #19
  7. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 2003
    Posts
    3,230
    Rep Power
    593
    Huh??? The browser has nothing to do with how PHP runs.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  8. #20
  9. No Profile Picture
    I haz teh codez!
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2003
    Posts
    2,539
    Rep Power
    2337
    Originally Posted by ryanfern86goa
    Hi ptr2void,

    Thanks for your reply.

    I deleted all the records in the table and even on the first insertion it gives the same error, taking out the possibility of what you pointed out.

    Thanks
    Oh really?

    Originally Posted by ryanfern86goa
    Hi gw1500se,

    I deleted all data/records from that table and re ran the script, it seems to insert the data.

    Any view?.

    Thanks
    Sigh...I need what little of my sanity is left. I'm out.

    Comments on this post

    • gw1500se agrees : I have not been contributing nearly as long as you but I think I'm beginning understand.
    I ♥ ManiacDan & requinix

    This is a sig, and not necessarily a comment on the OP:
    Please don't be a help vampire!
  10. #21
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Posts
    11
    Rep Power
    0
    Hi gw1500se,

    When I was viewing the page source in chrome, it failed to show the page source, so every time I had to refresh the page source to view it and I guess this was giving me the impression as if the query failed where as the query passed the first time..

    Thanks
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo