www.webdeveloper.com

Search:

Type: Posts; User: beylah

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    336

    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`...
  2. Replies
    4
    Views
    336

    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...
  3. Thread: Form Validation

    by beylah
    Replies
    3
    Views
    400

    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...
  4. Thread: Form Validation

    by beylah
    Replies
    3
    Views
    400

    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;
    ...
  5. found the answer ...

    found the answer


    self.document.forms['ccrequest'].billable[1].checked = true;
  6. [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...
  7. Replies
    3
    Views
    350

    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.
  8. Replies
    3
    Views
    350

    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...
  9. Replies
    2
    Views
    625

    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.
  10. Replies
    2
    Views
    625

    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...
  11. Replies
    2
    Views
    1,420

    ok i will check into this

    ok i will check into this
  12. Replies
    2
    Views
    1,420

    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...
  13. Replies
    2
    Views
    1,643

    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...
  14. Replies
    10
    Views
    1,146

    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?
  15. Replies
    10
    Views
    1,146

    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...
  16. Replies
    10
    Views
    1,146

    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
  17. Replies
    10
    Views
    1,146

    [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...
  18. Replies
    2
    Views
    586

    I have added this and it now works ...

    I have added this and it now works

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

    [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...
  20. Replies
    8
    Views
    867

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

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

    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...
  22. Replies
    8
    Views
    867

    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...
  23. Replies
    8
    Views
    867

    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...
  24. Replies
    8
    Views
    867

    [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...
  25. Replies
    4
    Views
    677

    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
Results 1 to 25 of 243
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles