dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: beylah

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    557

    I echoed them out and get the same results - it...

    I echoed them out and get the same results - it is when i add them up and there is no double
  2. Replies
    11
    Views
    557

    If I separate out the sql and search for halfday...

    If I separate out the sql and search for halfday and then not halfday it works perfectly, no rounding up
  3. Replies
    11
    Views
    557

    There are no errors. It is not a matter of...

    There are no errors. It is not a matter of errors. What the problem is, is that the number is getting rounded up from 1.5 to 2. I want it to show as 1.5.
  4. Replies
    11
    Views
    557

    no the $halfday is a lowcase x in all instances.

    no the $halfday is a lowcase x in all instances.
  5. Replies
    11
    Views
    557

    Don't want number to round up

    I am trying to add a full day or half day for vacation. But if the total should be 1.5, it shows as 2



    $totalvacation = 0;
    $sql="SELECT * FROM attendance ";
    $result = mysql_query($sql) or...
  6. Replies
    4
    Views
    572

    I have a primary field called "id" and it has...

    I have a primary field called "id" and it has auto_increment on it. I need to be able to change the auto_increment value.

    16405

    I have also tried this:


    $query="ALTER TABLE `table`...
  7. Replies
    4
    Views
    572

    Setting the auto_increment

    I would like to set the auto_increment for the id field to the number of rows.

    This is what I have:



    $sql="SELECT * FROM table";
    $result=mysql_query($sql, $connection) or die("Couldn't...
  8. Thread: Form Validation

    by beylah
    Replies
    3
    Views
    530

    That worked perfect thanks - i did realize that...

    That worked perfect thanks - i did realize that the && should be an || while I was waiting for help. I am so novice that I dont realize the difference between jquery and javascript.

    I am not sure...
  9. Thread: Form Validation

    by beylah
    Replies
    3
    Views
    530

    Form Validation

    I am trying to get a field validated for being filled in and filled in as a number - this is not working



    <script language="javascript">
    function validate(){
    var f=document.ccrequest;
    ...
  10. found the answer ...

    found the answer


    self.document.forms['ccrequest'].billable[1].checked = true;
  11. [RESOLVED] Function to Check a Radio Button

    I have a form called "ccrequest" and when clicking on the following button:


    <a href="javascript:oe();"><span class="buttonred">O/E</span></a>

    I would like 3 fields to be automated. This first...
  12. Replies
    3
    Views
    420

    varchar - i know, i know - uggg but i cant do...

    varchar - i know, i know - uggg but i cant do anything about it now - this is how i received the work.
  13. Replies
    3
    Views
    420

    Time related query

    I have been assigned to an existing project where the time was put in as 12:15 pm, for example. I need to select all the times entered between 11:00 am and 3:00pm. I have created the following query...
  14. Replies
    2
    Views
    723

    It seems to work with other months but not...

    It seems to work with other months but not January. There are no entries from 01-07, but it should still give me the entries from 08-15 but it is showing nothing.
  15. Replies
    2
    Views
    723

    Query not working with BETWEEN

    I have a query to find records between specific dates but the database was not set up with a date entry but a using the following fields: month, day, year. So I have tried to select data using a...
  16. Replies
    2
    Views
    1,466

    ok i will check into this

    ok i will check into this
  17. Replies
    2
    Views
    1,466

    Scheduled Exports of Specific Data

    I get nightly dumps of my server data but someone has asked me if they can have nightly cvs exports of specific fields. I know how to make a download button that when clicked downloads specific data...
  18. Replies
    2
    Views
    1,700

    Sorting After the Query

    I have a database of catering orders. Some of the orders have refill times (1 & 2). I need to display a list of all order, including separate entries for those with refill times, in chronological...
  19. Replies
    10
    Views
    1,324

    thank you it makes sense what you are saying and...

    thank you it makes sense what you are saying and i did use an join and it worked. Could you tell me what is old code so i dont use it anymore?
  20. Replies
    10
    Views
    1,324

    Thank you deathshadow you pointed out my error -...

    Thank you deathshadow you pointed out my error - I was searching through the directory table first for those that are lawyers when i should have been searching after getting the content from the...
  21. Replies
    10
    Views
    1,324

    I am getting no output I have also tried the...

    I am getting no output

    I have also tried the WHERE lss1.lawyer = \"$profname\" and lss1.lawyer=lss2.lawyer - and get no output
  22. Replies
    10
    Views
    1,324

    [RESOLVED] Sorting by a calculated field

    I am trying to sort by a calculated field. I have 2 tables: lss1 and lss2. Each are the same. I am trying to get a sort order for their total number of hours.

    This is what I have but no total...
  23. Replies
    2
    Views
    649

    I have added this and it now works ...

    I have added this and it now works

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

    [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...
  25. Replies
    8
    Views
    969

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

    I changed the WHERE to read AND id!='####' and that worked, thanks
Results 1 to 25 of 248
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles