dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: OctoberWind

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,988

    Can you expand on what "off by 10 minutes" means?...

    Can you expand on what "off by 10 minutes" means?

    You're capturing a generic time in "hh:mm am" format. What are you comparing it to, that says you are off by 10 minutes? When are you comparing...
  2. You could convert your passed date to a UNIX...

    You could convert your passed date to a UNIX timestamp (strtotime() at the simplest, or a more advances usage of mktime() or gmmktime())

    You also know what the UNIX timestamp is in 36 hours...
  3. http://us3.php.net/manual/en/function.header.php...

    http://us3.php.net/manual/en/function.header.php




    <?php
    /* Redirect to a different page in the current directory that was requested */
    $host = $_SERVER['HTTP_HOST'];
    $uri =...
  4. Replies
    4
    Views
    1,911

    The short process would be that when you insert...

    The short process would be that when you insert the data into the database for the first blog, you would also need to insert the data into the alternate database at the same time.

    Complications...
  5. Replies
    4
    Views
    1,093

    explode() turns $lot_number_indi_scan into an...

    explode() turns $lot_number_indi_scan into an Array, so your strlen() of $lot_number_indi_scan is on the "Array" object (hence 5; A-r-r-a-y).

    What you need to do is loop over the...
  6. Replies
    1
    Views
    1,227

    It's showing "Resource #3" because $result is...

    It's showing "Resource #3" because $result is just that. a MySQL Resource.

    http://www.php.net/manual/en/function.mysql-query.php



    You need to loop over the result with:
  7. two things that jumped out at me: ...

    two things that jumped out at me:



    sqlite_query($db,"INSERT INTO Picture (ID, name, year, artistID) VALUES ( '&ID', '&name', '&Year', '&ArtistID' )");


    Should it not be:
  8. Replies
    7
    Views
    2,550

    If you have no experience in either field, then I...

    If you have no experience in either field, then I think design is going to be a better option than development, if



    It'll be easier to learn enough design skills to start getting work, than...
  9. Replies
    11
    Views
    2,314

    Short Answer: No. I would suggest starting...

    Short Answer: No.

    I would suggest starting with php.net's migration outline.

    DO NOT just "replace this code with that code", without understanding what "this code" was doing, and how "that...
  10. Replies
    2
    Views
    975

    Considering I was able to get to the "Add Recipe"...

    Considering I was able to get to the "Add Recipe" page without login in, I would suggest you revisit your user login process, as it's clearly not working as expected.
  11. <input type="text" name="score1"/>
    <input type="text" name="score2"/>

    <?php
    if(isset($_POST['processForm'])) {

    // VERY IMPORTANT RULE:
    // a "hard" exit(); in your code is a VERY bad...
  12. Replies
    1
    Views
    460

    To maintain a "presence" for that length of time,...

    To maintain a "presence" for that length of time, you really are reduced to using either cookies or localStorage.

    To increase security, you can combine the "local" reference variable that doesn't...
  13. Your mail() command is screwed up, because of the...

    Your mail() command is screwed up, because of the formatting. You're already "inside" PHP code, so you cant wrap your PHP comment in php tags, but rather you need to concatenate the string properly....
  14. I would look into functions such as file_exists()...

    I would look into functions such as file_exists() and rename() prior actually moving the new uploaded file.

    You'd need some way to keep track of what "index" you're at for each image, so you don't...
  15. Replies
    2
    Views
    1,486

    Can you change the query that's pulling the...

    Can you change the query that's pulling the recordset to get just the row needed?



    $query = "SELECT `name`, `code`, `age`, `address` FROM `table` WHERE `code` = '". $searchCode ."';";


    ...
  16. Replies
    4
    Views
    565

    Those checks are all well and good, if all you...

    Those checks are all well and good, if all you want to know if is the string contains "a letter" , "a number" or "a letter, number, hyphen, period, or underscore".

    I'm going to assume this is for...
  17. Replies
    1
    Views
    328

    What's the syntax error you're getting? is...

    What's the syntax error you're getting?

    is $at_time supposed to be a UNIX timestamp?

    What are the functions date_to(), sbox() and time_array() doing?

    Also, you shouldn't normally be SETTING...
  18. From php.net...

    From php.net








    $retval=mysql_query($sql, $conn) or die(mysql_error());
  19. Replies
    16
    Views
    1,663

    Without knowing exactly what's in the...

    Without knowing exactly what's in the $uploadFilename and $active_keys arrays, I had to make a few assumptions, but hopefully with what's here, you can make adjustments as needed.

    You can ignore...
  20. Replies
    5
    Views
    984

    Your results are overflowing. 321^100 =...

    Your results are overflowing.

    321^100 = 4.472015e+250

    that's 250 zeros, and im only raising it to the 100th power. You want to raise it to the 321st power?

    9^321 = 2.050433e+306


    That's...
  21. Replies
    16
    Views
    1,663

    what does your $active_keys array look like? can...

    what does your $active_keys array look like? can you please print_r() that, and post it here?

    You loop is getting really messy, there is no reason to be array_mapping or imploding anything.
  22. Replies
    16
    Views
    1,663

    Put these three lines BEFORE the foreach: ...

    Put these three lines BEFORE the foreach:



    $query_part_1 = '';
    $query_part_2 = '';
    $i = 1;
  23. Replies
    16
    Views
    1,663

    Now that I look at it again, you will need to...

    Now that I look at it again, you will need to move these four lines outside of the foreach loop:



    $query_part_1 = preg_replace("/,$/","",$query_part_1); // remove the comma at the end of the...
  24. i see the flush() and ob_end_flush(), but I don't...

    i see the flush() and ob_end_flush(), but I don't see where the output buffering is started with ob_start().
  25. Replies
    16
    Views
    1,663

    INSERT INTO imloop (', 'image1'') VALUES...

    INSERT INTO imloop (', 'image1'') VALUES (','Z:\tmp\phpB8.tmp'')

    Looks like you've got some messed up quotation marks in your query.

    a single quote for the first var, and a mixed (open single,...
Results 1 to 25 of 479
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles