www.webdeveloper.com

Search:

Type: Posts; User: Derokorian

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. For what its worth, 0.025 comes back as 0.025 in...

    For what its worth, 0.025 comes back as 0.025 in SQL Server and MySQL:
    SQL Server Fiddle
    MySQL Fiddle
  2. Replies
    1
    Views
    1,956

    Here's a tutorial I wrote that should help get...

    Here's a tutorial I wrote that should help get you started.

    http://rdennispallas.com/tutorials/view/1-PHPMySQLUserAuthentication
  3. Hey Nog, I found this tutorial to be a very...

    Hey Nog,

    I found this tutorial to be a very helpful for what you are looking for http://www.tuttoaster.com/ruby-for-php-developers/ Its not a low level or high level tutorial but rather a this is...
  4. You're trying to use the variable for the...

    You're trying to use the variable for the monthCode array as a function instead of an array. The following 2 lines need changed:


    $labelMonthCode = $monthCode(arrayMonthCode);
    $labelLetterCode =...
  5. I'm unable to get the same results as you. In...

    I'm unable to get the same results as you. In fact this simplified queries returns 5002 as expected:



    And building a dummy table and running your query against it also produces the results you...
  6. Don't insert the id column at all, let the...

    Don't insert the id column at all, let the database determine that by defining the column as auto_increment.
  7. when you're outputting the dropdown just do a...

    when you're outputting the dropdown just do a check:



    $options = array(
    1=>'En Transito',
    2=>'Afianzando',
    3=>'Habitual',
    4=>'Preferente',
    );
  8. Actually what was happening is you were selecting...

    Actually what was happening is you were selecting all columns from all the tables in the joins. Columns that have the same name will cause ambiguity, and so when the driver loads the rows into the...
  9. If you use include_path, and all your apps point...

    If you use include_path, and all your apps point to the same file, then all you have to do is update that file. No need to duplicate it. But you have to be including the same file from each app, in...
  10. What you are looking for is LEFT JOIN, which...

    What you are looking for is LEFT JOIN, which mean join the table on the right to the table on the left, as opposed to join the two tables where they are equal.

    Example:



    CREATE TABLE test1...
  11. Thread: Php problem

    by Derokorian
    Replies
    2
    Views
    1,159

    The second error is caused by the first. PHP...

    The second error is caused by the first. PHP doesn't find a definition for a $register variable, so it gives an error and evaluates it to NULL. It then tries to evaluate $_POST[NULL] and throws the...
  12. Replies
    3
    Views
    1,247

    I personally prefer to have each environment on...

    I personally prefer to have each environment on their own virtual machine. This way if you are testing something in development, you don't incidentally create an infinite loop or something equally...
  13. This is a simple job for mod_rewrite if you are...

    This is a simple job for mod_rewrite if you are using Apache for your webserver. For more info: http://httpd.apache.org/docs/current/mod/mod_rewrite.html
  14. The error is caused by looking for a plural...

    The error is caused by looking for a plural version of discount, meanwhile the var_dump shows that its singular.
  15. Replies
    6
    Views
    1,900

    The "function" is actually a method that's a...

    The "function" is actually a method that's a member of a class yet you are trying to call it like a regular function. Instead you need to instantiate the class and then call the method from that...
  16. While would be possible to get the protocol from...

    While would be possible to get the protocol from the referrer, this is a header provided by the browser at its own whim (aka no guaruntee its there, or accurate). On top of that the user would be...
  17. Replies
    1
    Views
    500

    You would need to define it as a property of the...

    You would need to define it as a property of the class at definition, not just in the scope of that instance of an object.

    Second, it could not be dynamically generated, and have those dynamic...
  18. Replies
    14
    Views
    1,323

    You could instead give the divs a class named...

    You could instead give the divs a class named draggalble and change those 3 jquery lines to:


    $('.draggable').draggable();
  19. Replies
    1
    Views
    661

    .htaccess: #make sure the mod is on...

    .htaccess:


    #make sure the mod is on
    RewriteEngine On

    #rewrite all requests to the maintenance page
    RewriteRule .* maintenance.html
  20. If the server is *nix and you have SSH access you...

    If the server is *nix and you have SSH access you can use grep to find all occurences of a string in all files in a folder, a specific file or recursively for everything in a folder at any level...
  21. Replies
    4
    Views
    1,326

    Tested jquery on jsfiddle ->...

    Tested jquery on jsfiddle -> http://jsfiddle.net/ZuDJD/ :



    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript">
    function...
  22. And in case you're looking for something...

    And in case you're looking for something supporting more then jpeg here's mine --> http://rdennispallas.com/coding/view/2-ImageResize
  23. Replies
    5
    Views
    1,152

    @NogDog question: Why use create_function instead...

    @NogDog question: Why use create_function instead of a true lambda? Note I get the same output with your code as with the following:



    if (!empty($groups)){
    array_walk(
    $groups,
    ...
  24. Another thing to try is setting it in .htaccess ...

    Another thing to try is setting it in .htaccess


    #format
    php_value setting_name setting_value

    #example
    php_value memory_limit 16M
  25. Replies
    197
    Views
    40,769

    +1 for git. The next thing to be concerned with...

    +1 for git. The next thing to be concerned with is assignments, no 2 people should be working on the same file(s) at the same time as this can cause serious headaches when merging changes together.
Results 1 to 25 of 233
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles