Try this;
$select = "SELECT * FROM pipe WHERE id LIKE \'%$keyword%\'" ;
or
$select = "SELECT * FROM pipe WHERE id LIKE \"%$keyword%\"" ;
User Profile
Collapse
-
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'];...Leave a comment:
-
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.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...Leave a comment:
-
-
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 ";... -
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. -
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. -
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.Leave a comment:
No activity results to display
Show More
Leave a comment: