www.webdeveloper.com

Search:

Type: Posts; User: jeffap

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. so it is like when i have an image on the page it...

    so it is like when i have an image on the page it would be <img src="http://mydomain.com/images/1.jpg">?

    right... i was thinking in a hard way... thanks anyway!
  2. images or files share between a domain and its sub-domain

    I have already developed a website for desktop platform user and now I am thinking about making it also compatible for mobile device user (larger buttons, more simple layout, less javascript more...
  3. Replies
    5
    Views
    655

    almost work out the whole thing...:( ...

    almost work out the whole thing...:(



    $statement=$connect->prepare("
    SELECT var1,var2
    FROM mytable
    WHERE IFNULL(column1,column2)=?");
    ...
  4. Replies
    5
    Views
    655

    ok i tested the above SQL and it does not work,...

    ok i tested the above SQL and it does not work, the error message is as below:

    Fatal error: Fatal error: Call to a member function bind_param() on a non-object in xxx.php on line 132

    i think i...
  5. Replies
    5
    Views
    655

    thank you for your help eval but now i am...

    thank you for your help eval

    but now i am converting the obsolete mysql to mysqli (which is such a pain to me), so i guess the php code would be like?

    <PHP>...
  6. Replies
    5
    Views
    655

    filtering problem

    I am making a simple filtering system for visitor that the criteria they choose is either in "column1" or "column2".

    I had a thread regarding to sorting few days ago and I had been told that I can...
  7. Replies
    2
    Views
    434

    awesome NogDog :D never know the "AS" can do...

    awesome NogDog :D

    never know the "AS" can do the trick!

    thanks a million!
  8. Replies
    2
    Views
    434

    using CASE for sorting

    i am using MYSQL and i would like to "SELECT' a table and sort according to a numerical value that i either get it from "column1" or "column2", so:

    ***if a number from column1 exist, then this...
  9. Replies
    6
    Views
    816

    awesome it works :D thank you very much for your...

    awesome it works :D
    thank you very much for your help!
  10. Replies
    6
    Views
    816

    the whole php and js code are pretty long so i...

    the whole php and js code are pretty long so i will put what it is relevant



    <html>
    <head>
    <script type="text/javascript" src="checksell.js"></script>
    </head>
    <body>
    <form...
  11. Replies
    6
    Views
    816

    hi bionoid, your code is neat, clean and easy to...

    hi bionoid, your code is neat, clean and easy to understand, much better than mine :o

    i have a question here, when you define var kw

    var kw = String(str).split(','), i;

    can javascript...
  12. Replies
    6
    Views
    816

    regular expression on javascript

    i want to validate an input value using the following function which included a regular expression. And my criteria of the value is:

    1) any keyword with characters 'a-z', 'A-Z', '0-9', '-', '_',...
  13. Replies
    8
    Views
    1,280

    thanks!

    thanks!
  14. Replies
    8
    Views
    1,280

    simple but great, i change it to...

    simple but great, i change it to if(!empty($newinput1)) anyway :D

    i will use the FOR loop as there are many input:

    <?php

    $input=array($newinput1,$newinput2,$newinput3,....,$newinputn);...
  15. Replies
    8
    Views
    1,280

    Hi Criterion9: please check the following code...

    Hi Criterion9:

    please check the following code that i think it is relevant, please enlighten me :D



    $newinput1=$_POST['newinput1']);
    $result=mysql_fetch_array(mysql_query("SELECT * FROM db...
  16. Replies
    8
    Views
    1,280

    Hi Natdrip: i trim $newinput1 but not...

    Hi Natdrip:

    i trim $newinput1 but not $originalinput1. $originalinput1 is retrieved from db using SELECT field1 FROM db bla bla bla...

    is it because it can be used only on SELECT so i can't use...
  17. Replies
    8
    Views
    1,280

    COALESCE function

    Hi I have problems creating mysql statement.

    I want to update field1 in table db only if variable $newinput1 is not empty, otherwise field1 will use the original value $originalinput1.

    I do not...
  18. Thread: Problem in IE8

    by jeffap
    Replies
    3
    Views
    1,261

    ...

    <input type=hidden name="someName" value="">

    is it because you did not add double quotation between - hidden -????

    Otherwise, just suggesting, may be you can add css like: display:none; ???
  19. Thread: define var

    by jeffap
    Replies
    4
    Views
    699

    i just took some elementary javacript class so i...

    i just took some elementary javacript class so i thought this must have violated some basic principle *blush*

    anyway i will put the code here for easier reading:



    // function.js

    var...
  20. Thread: define var

    by jeffap
    Replies
    4
    Views
    699

    define var

    sorry i have a stupid question

    i have made some functions to control the class of some divs, and i m using a lot of document.getElementById('divname').style.

    my functions work pretty well, but...
  21. Replies
    2
    Views
    896

    so simple to have it solved *banghead* Thanks...

    so simple to have it solved *banghead*

    Thanks padonak!
  22. Replies
    2
    Views
    896

    ajax textfield checking

    i have built a username check on a textfield that when the username already existed in the database there will be an alert

    the javascript runs in onBlur of the textfield

    everything works okay...
  23. Replies
    6
    Views
    984

    thanks :D

    thanks :D
  24. Replies
    6
    Views
    984

    Thank you for your help Nep0leon I am actually...

    Thank you for your help Nep0leon

    I am actually using more or less the same script as yours to add numerous options as well as having the array defined var list= ["area1", "area2" bla bla bla]
    ...
  25. Replies
    6
    Views
    984

    Oh no... :( the reason i use javascript is i...

    Oh no... :(

    the reason i use javascript is i want to make a dynamic drop down list that once user chooses one option in the list, there will be corresponding sub-option available in the second...
Results 1 to 25 of 49
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles