www.webdeveloper.com

Search:

Type: Posts; User: beylah

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    247

    I have added this and it now works ...

    I have added this and it now works

    $name=utf8_decode($rows['name']);
  2. Replies
    2
    Views
    247

    [RESOLVED] Query with an accent

    I have a query to search for a name in a directory but there is an accent in the name and is not returning any results.


    $query = "SELECT * FROM directory WHERE name=\"$name\"";

    if I echo this...
  3. Replies
    8
    Views
    460

    I changed the WHERE to read AND id!='####' and...

    I changed the WHERE to read AND id!='####' and that worked, thanks
  4. Replies
    8
    Views
    460

    Many people fill in the records. The reason that...

    Many people fill in the records. The reason that there are 2 records (even though I suggested not) is that the person is in Toronto and Ottawa and together they represent Ontario. So when Ontario is...
  5. Replies
    8
    Views
    460

    100% agree with what you have posted. Firstly, I...

    100% agree with what you have posted. Firstly, I copied the name directly from the database. Secondly, The person spends time in 2 offices so needs different criteria for each office. I did not know...
  6. Replies
    8
    Views
    460

    the names are different though. One is 'Smith,...

    the names are different though. One is 'Smith, John' and the second is 'Smith, John (Toronto)' .

    I think the problem is that both entries has one of the criteria ie their title is 'Associate". So...
  7. Replies
    8
    Views
    460

    [RESOLVED] select criteria not working

    I am selecting data from a table and sorting it by school for 2 cities. One person is in the directory twice for both Toronto and Ottawa. But I dont want the person to show up twice. This is what I...
  8. Replies
    4
    Views
    400

    ok help on 2 parts how do you group by 2...

    ok help on 2 parts

    how do you group by 2 things I thought i could only group by one

    haw do you save the values
  9. Replies
    4
    Views
    400

    This is what I have gotten so far but it only...

    This is what I have gotten so far but it only shows one of the names of that are in conflict not both.



    <?php
    $sqla="SELECT DISTINCT(day) AS day, name AS name FROM forms_calendar WHERE...
  10. Replies
    4
    Views
    400

    Vacation Planner

    I have made a vacation planner to track employee vacations. But I want to add a feature to show conflicts. That is, only 1 person from each department can take vacation on a particular day. And I...
  11. Replies
    2
    Views
    343

    Fixed

    $cutoffdate = "$month/$day/$year";

    if(strtotime($cutoffdate) < strtotime('now')) {
  12. Replies
    2
    Views
    343

    [RESOLVED] Comparing Time

    I am trying to make a list that will only show events that have happened. The event is put in by month day and year. Here is my code:



    $todaysdate = strtotime('now');
    $sql = "SELECT * FROM...
  13. Replies
    5
    Views
    708

    Thank you, this makes sense too

    Thank you, this makes sense too
  14. Replies
    5
    Views
    708

    that work amazing - any chance you could explain...

    that work amazing - any chance you could explain it to me or direct me to where I could learn about this
  15. Replies
    1
    Views
    384

    [RESOLVED] Select Order by starttime

    When i use the following code


    $sql="SELECT * FROM forms ORDER BY starttime";

    The result I get is the 12:00 pm displays before 9:00 am. I assume because 1 comes before 9. But I would like the...
  16. Replies
    5
    Views
    708

    [RESOLVED] Alphanumeric Sort on a select

    I am selecting names of boardrooms and some of them start with numbers and some with letters. I would like the Alpha names to show first and then the numeric names.


    $sql = "SELECT * FROM...
  17. Replies
    3
    Views
    626

    I think it was just a bad character or something....

    I think it was just a bad character or something. I rewrote the code from scratch and it worked. Thanks
  18. Replies
    3
    Views
    626

    [RESOLVED] Center Page

    I have been tring to get the page to center and cant.

    Here is the template


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  19. Replies
    3
    Views
    354

    I tried a for and foreach and could not get it to...

    I tried a for and foreach and could not get it to work. I could not get the while to express .$value
  20. Replies
    3
    Views
    354

    Sequencing a Query

    I would like to do 20 querys without have to write the code for each one. I have not been able to achieve this. Here is the code.


    $sql1="SELECT cost1 FROM dawn_quotes WHERE year='$year' AND...
  21. Replies
    3
    Views
    944

    Timestamp off by 10 minutes

    I have been using the same code for quite some time and just recently it is off by 10 minutes. I am using the following code to put into a mysql table (varchar).


    <input type="hidden"...
  22. Replies
    6
    Views
    1,023

    here is my full code taking into your suggestion...

    here is my full code taking into your suggestion and it does not work



    // draws a calendar
    function draw_calendar($month,$year){

    // draw table
    $calendar = '<table cellpadding="5"...
  23. Replies
    6
    Views
    1,023

    I am not sure how to incorporate your suggestion

    I am not sure how to incorporate your suggestion
  24. Replies
    6
    Views
    1,023

    above the listed code and it is working fine so i...

    above the listed code and it is working fine so i did not post it


    for($list_day = 1; $list_day <= $days_in_month; $list_day++):

    $numbers =...
  25. Replies
    6
    Views
    1,023

    Creating a variable from an array

    I have the following array

    $list_day= array('','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31');
    ...
Results 1 to 25 of 226
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles