Search:

Type: Posts; User: GarethMc; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,883

    Firstly JavaScript and Java are two VERY...

    Firstly JavaScript and Java are two VERY different things. One is a broswer side scripting language the other is an enterprise Object Oriented Development Langauge.

    To answer your question its a...
  2. Replies
    22
    Views
    4,339

    I guess i should have mentioned then but I...

    I guess i should have mentioned then but I thought it was obvious .. the ........... in that code aren't code just I was a little lazy to type the full HTML which I thought you would realise and do...
  3. Replies
    22
    Views
    4,339

    Yes you can just alter the input tag based on the...

    Yes you can just alter the input tag based on the value of $error:



    <?php
    if ($error)
    {
    ?>
    <input class="fout" type="text".........
    <?php
  4. Replies
    22
    Views
    4,339

    I was just pointing out that string based...

    I was just pointing out that string based comparisons are not incredibly reliable. Someone could just take the space out from in front of " your email adress" in the text box and click submit and it...
  5. Replies
    7
    Views
    5,517

    One of the reasons for PHP's lack of OO...

    One of the reasons for PHP's lack of OO functionality was there used to be a rather large rift in the community about whether web based software really needed to have OO functionality. Call that...
  6. Replies
    6
    Views
    6,301

    Forgive me .. 3 hours of sleep last night trying...

    Forgive me .. 3 hours of sleep last night trying to meet a deadline for today does not make for a sharp bunny -_-
  7. Replies
    10
    Views
    7,737

    Personally I'm always a bit "antsy" about new...

    Personally I'm always a bit "antsy" about new Microsoft technologies entering a field that is already pretty mature as they have a bad history of forcing the technology into the market in order to...
  8. Replies
    22
    Views
    4,339

    Yes you should and you should also add the...

    Yes you should and you should also add the closing tags at the end (i.e. </body> and </html>)

    I was just a bit lazy using proper XHTML tags such as the doctype decleration and such.. just add the...
  9. Replies
    7
    Views
    5,517

    PHP 5 is substandard? :O

    PHP 5 is substandard? :O
  10. Replies
    22
    Views
    4,339

    Problem now is a simple typo ... you do need to...

    Problem now is a simple typo ... you do need to check that all the values you check for are correctly spelt.... If you look at the HMTL that defines the email text box:



    <input type="text"...
  11. Replies
    17
    Views
    15,897

    NULL is no value .. thats all .. nothing ever...

    NULL is no value .. thats all .. nothing ever existed or exists there.. has nothing ... 0 is not nothing .. 0 IS a value of zero.... '' is not nothing its an empty string... NULL is nothing... simple...
  12. Replies
    17
    Views
    15,897

    Ok sorry or double post but I realised it migh...

    Ok sorry or double post but I realised it migh tmake no sense my previous post so I'm taking a different tack >.<

    Using my little three field table as an example you can use the following SQL to...
  13. Replies
    17
    Views
    15,897

    Thats a value of ' ' .. which is not a null value...

    Thats a value of ' ' .. which is not a null value hehe .. it does take getting ure head around it though.

    If your field does not have the NOT NULL flag set in the table definition then it can...
  14. Replies
    22
    Views
    4,339

    Ok lets change them all to use the strlen...

    Ok lets change them all to use the strlen function....



    if ($_POST['name'] != " your name" && strlen(trim($_POST['name'])) > 0
    && $_POST['email'] != " your e-mail adress" &&...
  15. Replies
    22
    Views
    4,339

    -slaps head- Yes that too hehe .. but adding...

    -slaps head-

    Yes that too hehe .. but adding the strlen takes it from checking what the value is whch can fail to checking that whatever the value is is a string bigger than 0 which means any...
  16. Replies
    22
    Views
    4,339

    I have altered the if statement as such: ...

    I have altered the if statement as such:



    if ($_POST[name] != " your name" and $_POST[name] != "" and $_POST[email] != " your e-mail adress" and $_POST[email] != "" and...
  17. Replies
    6
    Views
    4,809

    Like everyne has already said, favicon's...

    Like everyne has already said, favicon's generally need to be a recreated version of the original with all "fancy" effects removed. Pretty much just lines and fill colours to help it look at least...
  18. Replies
    23
    Views
    21,179

    This question is like saying which car is best or...

    This question is like saying which car is best or which house is best.. its all a matter of opinion and function. For myself I use Opera for my general purpose web surfing (like now on this forum)...
  19. Replies
    8
    Views
    3,050

    You need to create an icon called favicon.ico... ...

    You need to create an icon called favicon.ico...

    The following instructions were taken off http://www.hypergurl.com/favicon.html:
  20. Replies
    1
    Views
    5,788

    Really depends which you find more elegant or not...

    Really depends which you find more elegant or not but you can either alter the $date and add a dummy time or just use the DATE() function extract only the date from the timestamp fields...


    ...
  21. Replies
    22
    Views
    4,339

    If I understand your problem correctly you want...

    If I understand your problem correctly you want to check if someone has filled in the fields correctly and i not then give them an error message?

    This is easiest done by not seperating your PHP...
  22. Replies
    17
    Views
    15,897

    Ummm .. one thing to remember which I think...

    Ummm .. one thing to remember which I think people forget...

    By setting a field to NOT NULL it also means that you MUST insert some value in that field and will throw an error if there is no value...
  23. Replies
    6
    Views
    6,301

    Well editing programs on Linux are by far in...

    Well editing programs on Linux are by far in greater number. Also, if you are going to use Linux as production avoid Windows then as it won't matter for your dev environment.

    Also bear in mind,...
  24. True yes, and it will also duplicate the employee...

    True yes, and it will also duplicate the employee names if they have multiple departments they are members of...
  25. Replies
    6
    Views
    6,151

    Hehe .. well .. I always use the date() function...

    Hehe .. well .. I always use the date() function myself ... would have been my next suggestion.. >.<
Results 1 to 25 of 31
Page 1 of 2 1 2