User Profile

Collapse

Profile Sidebar

Collapse
skim
skim
Last Activity: Jan 10 '07, 09:14 PM
Joined: Sep 22 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • skim
    replied to help needed!!!!!
    in PHP
    Try this;

    $select = "SELECT * FROM pipe WHERE id LIKE \'%$keyword%\'" ;
    or
    $select = "SELECT * FROM pipe WHERE id LIKE \"%$keyword%\"" ;
    See more | Go to post

    Leave a comment:


  • I think you need to read a session document.
    http://www.w3schools.com/php/php_sessions.asp
    http://www.tizag.com/phpT/phpsessions.php

    In PHP, you need containers to send parameters to next pages.
    So, you want to send "login_id" and "password" on 'POST' method to the next page, then do this.

    session_start() ; // Start Session. It's required.
    $_SESSION['login_id'] = $_POST['login_id'];...
    See more | Go to post

    Leave a comment:


  • skim
    replied to Executing another PHP page
    in PHP
    using JS. This is the easiest way.

    <?php
    whatever your code...
    if( whatever condition){
    ?>
    <SCRIPT LANGUAGE ="JavaScript ">
    window.location = "./your/file.php"
    </SCRIPT>
    <?php
    }

    Whatever yourcode....
    ?>
    Done.
    See more | Go to post

    Leave a comment:


  • Using "SESSIONS"
    For example,
    test1.php
    <?php
    session_start() ;
    $_SESSION['logPass']="whatever";
    .
    .
    .
    Your Code
    .
    .
    .
    ?>
    test2.php
    <?php
    session_start() ;
    $pass = $_SESSION['logPass'];
    echo $pass;
    ?>
    Output
    whatever

    Please read session part.
    I hope...
    See more | Go to post

    Leave a comment:


  • skim
    replied to Help: creating a button with mulitline of text
    in PHP
    It works. Thanks a lot!!!!
    See more | Go to post

    Leave a comment:


  • skim
    started a topic Help: image button
    in PHP

    Help: image button

    I tried to create image button but did not work.
    Does anyone know how to create image button?

    <?php

    $img_value="OFF ";
    $bttn_image="../qoim/playoff.bmp";

    echo "<br> After process, Image value is " .$img_value. "<br>";

    if($_POST['img_button']=='ON'){
    $img_status= " On image is running!!!";
    $img_value="OFF ";...
    See more | Go to post

  • skim
    started a topic Help: creating a button with mulitline of text
    in PHP

    Help: creating a button with mulitline of text

    I am trying to create a button with multilines of text.

    <input type="submit" name ="switch" onclick="return confirm('Turn off httpd server?');" value="Turn OFF HTTP Server">

    I tried "\n" between words but didn't work.
    Please help me out.
    See more | Go to post

  • skim
    started a topic Help: creating a button with mulitline of text

    Help: creating a button with mulitline of text

    I am trying to create a button with multilines of text.

    <input type="submit" name ="switch" onclick="return confirm('Turn off httpd server?');" value="Turn OFF HTTP Server">

    I tried "\n" between words but didn't work.
    Please help me out.
    See more | Go to post

  • skim
    replied to php
    in PHP
    exec("/whatever path for mii-tool/mii-tool [-v, --verbose] [-V, --version] [-R, --reset] [-r, --restart] [-w, --watch] [-l, --log] [-A, --advertise=media ,...] [-F, --force=media] [interface ...] ", $return_value);
    print $retrun_value);

    I hope this is what you want.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...