Advanced Search

Search:

Type: Posts; User: kuau; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    1,062

    Thanks. So my example would work as written?

    Thanks. So my example would work as written?
  2. Replies
    5
    Views
    1,062

    Can php be used inside javascrpt?

    Is it possible to insert a bit of php inside a javascript? For example:


    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '<?php echo $ga;?>']);
    ...
  3. Replies
    3
    Views
    3,150

    Dear Adrian: Brilliant! That solved the one...

    Dear Adrian: Brilliant! That solved the one problem, which made it obvious that that was not the source of the problem. So then I was able to figure out that problem. So you actually solved 2...
  4. Replies
    3
    Views
    3,150

    How do you strip quotes out of POST data?

    I have an events calendar where people submit their own events. I have fields for meta description and meta keywords. People are entering double quotes into the fields which is messing things up. ...
  5. Replies
    16
    Views
    2,740

    Well, maybe when the commands work, I'll take...

    Well, maybe when the commands work, I'll take another look at it. Until then it is POOP to me. :)
  6. Replies
    16
    Views
    2,740

    I have decided to abandon OOP. The connection...

    I have decided to abandon OOP. The connection was working for the other pages, but I just couldn't get that code to work no matter what. I wasted an entire day on it & got zero done except...
  7. Replies
    16
    Views
    2,740

    [ I'm actually writing a database for feral cat...

    [ I'm actually writing a database for feral cat colony caretakers... the code calculates the numbers in the colonies... might as well use the actual code so I don't have to change it. ]

    It took me...
  8. Replies
    16
    Views
    2,740

    Thanks, Daniel. Sounds as if you consider OOP to...

    Thanks, Daniel. Sounds as if you consider OOP to be a more evolved mode of programming. I guess I haven't seen enough of it to see its power. The concept of manipulating objects sounds a bit like...
  9. Replies
    16
    Views
    2,740

    Thanks, Adrian. All my sites are on shared...

    Thanks, Adrian. All my sites are on shared servers at Bluehost/Hostmonster so I have no control over the versions of MySQL or PHP. One of the good things about Bluehost is they keep their software...
  10. Replies
    16
    Views
    2,740

    Dear Daniel: Great to hear from you! I hope all...

    Dear Daniel: Great to hear from you! I hope all your projects are going well. Thanks for answering my questions. I'm not entirely sure I like OOP better - only where it is more compact. Haven't...
  11. Replies
    16
    Views
    2,740

    Thanks, Adrian. I still have a few questions if...

    Thanks, Adrian. I still have a few questions if you don't mind.

    1. So you use "if( $result ){" instead of "or die" in order to control the error message display?

    2. I use the following format...
  12. Replies
    16
    Views
    2,740

    Dear Adrian: Wow, what a great response! Thank...

    Dear Adrian: Wow, what a great response! Thank you so much. It definitely answered all my concerns and made perfect sense. Thanks also for making me not feel like such a dolt for not knowing...
  13. Replies
    16
    Views
    2,740

    Updating deprecated code for MySQL 5.5.+

    I haven't been on the forum for awhile. I had been checking something on php.net and noticed the warning about mysql_* functions being deprecated, so I came to DD & found traq's post. I am...
  14. Replies
    2
    Views
    1,241

    The only way I know of to control access to files...

    The only way I know of to control access to files is using htaccess. Should I check the username and then display files based on the username?
  15. Replies
    2
    Views
    1,241

    How best to set up owner logins

    I want to digitize and put all the client files for a company online and enable each client to login and see only their own files. The company owners need access to all client files. What is the...
  16. Replies
    19
    Views
    6,367

    Yeah, isn't it ironic that what the manual says...

    Yeah, isn't it ironic that what the manual says will work doesn't work, but what shouldn't work, does. Enough to make you crazy... :)
  17. Replies
    19
    Views
    6,367

    Dear traq: I just got back home so I didn't see...

    Dear traq: I just got back home so I didn't see this until now. I had already changed it this afternoon to...


    $sql = "SELECT *, date_format(`edited`,'%Y-%m-%d') AS `edited` FROM client

    That...
  18. Replies
    19
    Views
    6,367

    Dear traq: Yes, that is exactly what I wanted to...

    Dear traq: Yes, that is exactly what I wanted to know (SELECT *,date_format...). Thank you.

    The funny thing is that mysql didn't complain when I used an actual column name after AS. I did it...
  19. Replies
    1
    Views
    787

    Resolved Could you please tell me how you changed the...

    Could you please tell me how you changed the status of your thread to Resolved? Thanks.
  20. Replies
    19
    Views
    6,367

    Dear traq: I'll try that again, but right now I...

    Dear traq: I'll try that again, but right now I thought I would try one of your earlier suggestions about doing the formatting in the SQL command. BTW, is it true that if you wish to specify one...
  21. Replies
    19
    Views
    6,367

    Yes, I am pulling the values from a mySQL...

    Yes, I am pulling the values from a mySQL database. When the record has never been edited, the `edited` field is NULL. It displays as 0000-00-00 00:00:00. I am sure about that. When I use echo...
  22. Replies
    19
    Views
    6,367

    Dear traq: I tried what you suggested. In...

    Dear traq:

    I tried what you suggested. In fact, that was the very first thing I tried thinking it would work, but wherever the record had not yet been edited, ie. the date is 0000-00-00, it would...
  23. Replies
    21
    Views
    3,246

    I don't have any problem confusing the table...

    I don't have any problem confusing the table names with the field names. It would be a huge job renaming everything. It does not interfere with the functioning. Please try to bear with my...
  24. Replies
    19
    Views
    6,367

    I tried both. Neither worked.

    I tried both. Neither worked.
  25. Replies
    19
    Views
    6,367

    OK, I tried that and nothing displayed but I got...

    OK, I tried that and nothing displayed but I got this error message...


    PHP Warning: date_format() expects parameter 1 to be DateTime, string given in /public_html/php/client-listing.php on line...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4