www.webdeveloper.com

Search:

Type: Posts; User: Suhas Dhoke

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: explode

    by Suhas Dhoke
    Replies
    5
    Views
    1,015

    Hello Rashmi $address =...

    Hello Rashmi



    $address = 'xyz.ghj@abc.sds.in';
    $txt = preg_replace('/\.[^@]*$/', '', $address);
    echo $txt
  2. Replies
    2
    Views
    935

    Hi. Try with giving the absolute path of JS...

    Hi.

    Try with giving the absolute path of JS files, instead of relative.
  3. Replies
    2
    Views
    1,436

    For Auto-Increment, the field should be the...

    For Auto-Increment, the field should be the Primary-Key. You can use it through sql statement or by selecting the "auto_increment" from the "EXTRA" drop-down.
    You can also set the starting number...
  4. Replies
    10
    Views
    1,230

    View Post

    <?php
    $term = mysql_real_escape_string($_GET['search_term']);
    mysql_query("SELECT * FROM table WHERE field LIKE '%{$term}&'");
    // ....
    ?>

    If you want to search after from first three letters...
  5. Replies
    41
    Views
    3,481

    Hmmm.... You did a very silly mistake....

    Hmmm....

    You did a very silly mistake.
    Actually, you wrote the query, but you didn't execute it.
    In line nos: 15 and 81, use the function mysql_query() to execute the query.
    And this will...
  6. Replies
    7
    Views
    1,090

    Means, do you want to scrolling the text from...

    Means, do you want to scrolling the text from beginning after reaching the end point ?
  7. Replies
    7
    Views
    1,090

    Try after commenting the line: if(pos < 0 -...

    Try after commenting the line:

    if(pos < 0 - obj.offsetHeight+130) return;
  8. Replies
    4
    Views
    1,053

    GET and POST are the methods of form. If you...

    GET and POST are the methods of form.
    If you selected the form method as POST then the you can collect the form's data in $_POST['form_field_name'].

    The $_GET works only when, if you set it as...
  9. Replies
    4
    Views
    1,245

    I am not getting an error string back, but it...

    I am not getting an error string back, but it won't let me log in. Now all it does is cycle me to the login.php?login_error=1 page.

    B'coz, You are checking the ...
  10. Replies
    41
    Views
    3,481

    Try to use "OR" instead of "AND" from the query.

    Try to use "OR" instead of "AND" from the query.
  11. Replies
    6
    Views
    2,326

    The error is occurs coz, the query doesn't...

    The error is occurs coz, the query doesn't contain anything..
    Why not you try $_POST var, instead of $_REQUEST., where u can get all the checked values at a time...

    Otherwise, you can use the...
  12. Replies
    6
    Views
    2,326

    No, i meant this.. ...

    No, i meant this..



    foreach($_REQUEST['current'] as $key=>$value)
    {
    if($key)
    $checkValue="Y";
    else $checkValue="N";
  13. Replies
    6
    Views
    2,326

    Hello. You wrote the query in the foreach()...

    Hello.

    You wrote the query in the foreach() loop, but executing it outside of loop. Hence, the query is fired only once, for the last loop iteration..

    Try to execute it in the same loop.
    ...
  14. Replies
    5
    Views
    5,787

    You can also use this.. var string =...

    You can also use this..

    var string = document.getElementById('txt').value;
    chars = string.split(' ');
    if (chars.length > 1)
    alert('Space(s) found in the string.');
    else
    alert('No...
  15. Replies
    16
    Views
    64,345

    Use the tag instead of Anchor Tag () for...

    Use the <IMG> tag instead of Anchor Tag (<A>) for displaying the image, instead of a link.
  16. Thread: Prompt Box

    by Suhas Dhoke
    Replies
    2
    Views
    716

    Hi, Here is a test script, where the user can...

    Hi,
    Here is a test script, where the user can enter only numeric value in the text field.
    The validation will apply on submitting the form.
    ;)

    [HTML]
    <script>
    function checkValidQty(f)
    ...
  17. I have modified your function MM_goToURL(), to...

    I have modified your function MM_goToURL(), to pass the grand total value as the query string.
    And that value, you will get to the next page.. But be sure, the next page must be the php page (php...
  18. You are trying to get the value of "total" by...

    You are trying to get the value of "total" by using the $_GET.
    If you are passing the total cost in GET, then there is no need to add an additional '$' sign
    against the field name..
    try to use...
  19. Replies
    1
    Views
    653

    Here is the sample script, which used to...

    Here is the sample script, which used to calculate the total number of chars, words and lines in the TextArea field.


    <script type="text/javascript">

    function counts()
    {
    var string =...
  20. Replies
    3
    Views
    877

    Here is the code, which u want.. Using the JS,...

    Here is the code, which u want..

    Using the JS, adding a new row.. by clicking on the Button.


    <head>
    <script>
    <!--
    var row_counter = 2;
    function add_new_row() {
  21. Replies
    2
    Views
    904

    Hello.. I had created a script for, have a...

    Hello..

    I had created a script for,
    have a look... do u wanna the same ?



    <script>

    var romanList = 'I,II,III,IV,V';
  22. Replies
    9
    Views
    1,060

    just for the confirmation.. . Are u passing...

    just for the confirmation.. .

    Are u passing the correct *server_username* and *server_password* and
    there is no need to add single quote ( ' ) around the Table_Name.

    Remove it, if it is...
  23. Replies
    9
    Views
    1,060

    And, one more thing.. Do u passing the valid...

    And, one more thing.. Do u passing the valid *username* as argument in checkUsername() function ?
  24. Replies
    9
    Views
    1,060

    Ok. Give me the code, what u write.. .

    Ok.
    Give me the code, what u write.. .
  25. Replies
    9
    Views
    1,060

    First of all, the connection was not established,...

    First of all, the connection was not established, because, you are using the variables
    for connecting to the database, but they are not defined.
    Therefore it displays the blank page.

    Actually,...
Results 1 to 25 of 108
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles