Jump to content

josephman1988

Members
  • Posts

    52
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

josephman1988's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi guys, Need some help with arrays! The following code puts ALL dates into an array, or should I say should. Because this: do { $start = $row_getCalendarDates['page_date']; $end = $row_getCalendarDates['page_date02']; $init_date = strtotime($start); $dst_date = strtotime($end); $offset = $dst_date-$init_date; $dates = floor($offset/60/60/24) + 1; $booked=0; while ($booked < $dates) { $newDateFinal[] = date("Y-m-d", mktime(12,0,0,date("m", strtotime($start)), (date("d", strtotime($start)) + $booked), date("Y", strtotime($start)))); $booked++; } print_r($newDateFinal); } while ($row_getCalendarDates = mysql_fetch_assoc($getCalendarDates)); Infact prints something like so when i have multiple results: Array ( [0] => 2010-12-01 [1] => 2010-12-02 [2] => 2010-12-03 ) Array ( [0] => 2010-12-01 [1] => 2010-12-02 [2] => 2010-12-03 [3] => 2010-11-01 [4] => 2010-11-02 [5] => 2010-11-03 [6] => 2010-11-04 [7] => 2010-11-05 [8] => 2010-11-06 [9] => 2010-11-07 [10] => 2010-11-08 ) These are 2 results coming from the database, so what it is doing is putting both into arrays, but I 'NEED' them iin a single array, how on earth do I go about doing this? Note however, how the first array has the first set of results but the second has them all ... this is affecting my code and so, need to somehow reference and get rid of the first array. Hope someone can help! Regards, Joe.
  2. Edits have been done, so: www.projectfinalfantasy.com
  3. Ok sorry - I see that most of the reason why the document isn't validating is Javascript related, so, if you could send this thread to the appropriate forum it would be appreciated. So basically: http://validator.w3.org/check?uri=www.v2.projectfinalfantasy.com%2F&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.606 The 'lesser than' operator is causing the first problem and suspect that is whats causing many of the others. Or maybe I am wrong?
  4. Yea, what Ive done on the nav, is when you scroll over then it has a coloured version of the image, I might change that back .. And a gradient would be a good idea .. off I go! Thanks dude.
  5. The thing is with any teach yourself books, Ive never finished one, I seem to learn more by figuring out what I want to achieve, find the direction in which to learn then find a book to help me. That's how I was that is, now I just like reading through majority of books to learn and build my skills.
  6. Thanks, yea the colour weren't white but it weren't far away! I think keeping 1 colour for the headers rather then have 2 (as it is) would be better .. perhaps the red so there isn't too much .. blue?
  7. Thanks for the input - I need tips on the color .. please bear in mind, validation, font will probably be change. Colours quite an issue. Ive put 2 colours, the red so it looks less .. blue, and the blue one to see what it looks like. Blue red .. or another colour? if any other colour that is.
  8. Delete this: <div class="middle_content"> <p class="header">Candidates</p> <p> <hr> Candidates that are placed through Mass MedX Staffing will have the opportunity to work for some of the best hospitals in the state, as we widen our client base. We work hard to not only get you what you want in terms of location, but we work hard to get you what you are trying to make in a financial sense. We do not try to just place candidates as quickly as possible for top profit, we want to make sure that all of our candidates are happy, so that they continue to work through us for a long duration. </p> </div> <div class="right_content"> <p class="header">New Openings</p> <p> <hr> <a href="..jobs/allopenings.php"> View All jobs </a> </p> </div> And change: #left { margin-top: 0; width: 150px; float: left; } /* end #left */ to #left { margin-top: 0; width: 450px; float: left; } /* end #left */
  9. What you mean? Do you want there to be 1 big coloum with all 3 pieces of content under each other, or 1 big area with the current content placements?
  10. Hey guys, Question about validation. I have this: document type does not allow element "style" here. <style type="text/css" | > | the '>' being highlighted with w3c. How can I fix this?
  11. I tend to code with FF and fix for IE, anyone else? I switched to FF when I started to learn to developing sites.
  12. Thanks, I checked Chrome/FF/IE, time to look at Opera!
  13. Thanks for both of your inputs, thats exactly what I needed. Yes, it's not validated at all, I tend do do that when I've finished building it. The footer will be added, but again no footer is because i need to get the content section finished. The clock atm is useless, and I think you are right, a date would be more useful. H1's and H2's will be needed, I also agree, but i just need the design in place first. Finally, yer, the sprite sheet is a fantastic idea, and I will incorporate that. Thanks so much for your input. Any more suggestions will be fantastic.
  14. Hi, New re-design im doing, but it looks too crowded. Any helps on design, colour scheme changes, content management? www.v2.projectfinalfantasy.com
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.