dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: paishin

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    610

    Unfortunately no

    Unfortunately no
  2. Replies
    3
    Views
    610

    Error Reporting Issues...

    I am trying to troubleshoot a problem I am having with error reporting.

    When I try to access an object as an array the following error message should be displayed by PHP

    Fatal error: Cannot use...
  3. Replies
    2
    Views
    637

    you are right! Running it outside the class does...

    you are right! Running it outside the class does not return the private/protected members of the class.

    I had already tried this function but it was within the object i was trying to print so I...
  4. Replies
    2
    Views
    637

    Alternative to print_r?!

    I am writing a custom debugging function and need to print some objects to the screen.

    print_r does exactly what I need except it also shows private and protected members of the object shown. I...
  5. Replies
    5
    Views
    1,417

    I wanted to do it straight from mysql without...

    I wanted to do it straight from mysql without using functions....ive tried everything that I could think of but I do not think it is possible.

    I ended up doing it in php. Ive created a function...
  6. Replies
    5
    Views
    1,417

    Im using mysql. Weekdays are excluded but I...

    Im using mysql.

    Weekdays are excluded but I already know how to filter those out.

    What i need is an sql statement that will produce all dates between two given dates so that I can compare with...
  7. Replies
    5
    Views
    1,417

    Selecting missing rows based on date range.

    Now here is a puzzle i have been struggling with the last few days so I decided to ask for help as I cannot figure it out :)

    I have two tables (USERS and DAY_ACTIVITIES), each user is required to...
  8. Replies
    2
    Views
    2,267

    How to determine class variable scope

    is there a function i php where I could determine if a class variable is declared as public/protected/private?
  9. The best way to achieve something like that is...

    The best way to achieve something like that is using regular expressions:

    to select all matching entries in an array try the following:
    preg_match('/(?<=\*&)[\w\W]*(?=&\*)/', $string);

    and to...
  10. Replies
    10
    Views
    2,958

    i came to a similar problem a while back... it...

    i came to a similar problem a while back...
    it seems that IE interprets widths differently than the rest browsers that follow the w3 standard.

    IE considers the width attribute as the Total Width...
  11. Replies
    3
    Views
    2,995

    I'm using mysql. I have never used triggers...

    I'm using mysql.

    I have never used triggers before...how is that done?
  12. Replies
    3
    Views
    2,995

    Cascade delete on one to many tables.

    Hello everyone.

    I have a table structure that I would like to cascade deletes...but I cant figure out how to do it. Let me explain better...

    I have the following tables
    ...
  13. Create a new session variable for each website instance.

    Hello everyone,
    I have a website running multiple times on the same server.
    The websites use session id to know if a user is logged in or not.
    The problem is that once the user loggs in to one of...
  14. Yes...thats it!!! could you please explain...

    Yes...thats it!!!

    could you please explain what the curly brackets do in this case?
  15. How can I get a Class Variable who's name is stored in a Class Constant?

    Hello there,

    I was wondering if there is any way that I could get a class variable's value who's name is stored in a class constant.

    for example:

    class class_name
    {
    const field =...
  16. Replies
    6
    Views
    1,388

    thanks thraddash, it works perfectly!! :D

    thanks thraddash, it works perfectly!! :D
  17. Using two different browsers does the trick but...

    Using two different browsers does the trick but that's not a real solution, the question here is how to do it properly, not to trick the system.

    Using the session variable is not mandatory, is...
  18. Single point entry system - how to deferentiate between frontside and admin panel

    Hello guys,

    I am creating a website using a single point entry system.
    The website has two parts the frontsite and the admin panel.

    Both of them use the index.php as their entry point and...
  19. Replies
    1
    Views
    1,178

    try using this ...

    try using this

    /((?<=\")[\w\s\:]*(?=\"))|([\w\s]+)/
  20. Replies
    3
    Views
    949

    try preg_match_all('/

    try

    preg_match_all('/<a href="/drupal/test">testlink-#[0-9]*<span class="image-replace"></span></a>/', $string);
  21. Replies
    6
    Views
    1,388

    eval(BadCode)'s method was my first attempt to it...

    eval(BadCode)'s method was my first attempt to it as well, couldnt get it to work though.

    thraddash, thanx for the suggestions. I will try the first method and see what happens. I like the...
  22. Replies
    6
    Views
    1,388

    Accessing Array Elements based on Strings

    Hello guys, I am trying to do a templating system and the way it works is taking values in brackets {tag} and then replacing them with the corresponding value in the $tag array.

    For example...
  23. Replies
    9
    Views
    4,526

    We dont actually know what you are doing in the...

    We dont actually know what you are doing in the background there.

    Are you trying to save the HTML into the database?
  24. Replies
    9
    Views
    4,526

    I get where you are trying to go and I would...

    I get where you are trying to go and I would really recommend against it not only as a bad practice (and dysfunctional in the long run) but also because it imposes great security risks when you...
  25. Replies
    11
    Views
    1,693

    what nogdog said is correct it should be...

    what nogdog said is correct it should be $image[Filename], assuming you have stored the image filename correctly in the database then the only other issue that I can see is that the path to the image...
Results 1 to 25 of 70
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles