Depends where you are getting our 'activator':
If it's an action based on a submitted for
variable you may do
something like this
<?php
if (isset($_POST ['form_variable'])){
// more code
}
?>
This snippet will
run only if the 'form_variable' input is submitted
as a
HTTP post var.
------------------------------------------
OR if you wanted to
display someones name if their name is "Ted"
<?php
$name = "Ted";
if ($name == "Ted"){
// do this
}
?>
This snippet will only run if $name is "Ted", otherwise doesn'thing.
-------------------------------------------
OR using a Boolean
<?php
$boolean_var = FALSE;
if ($boolean_var){
// do this
}
?>
This snippet won't run because $boolean_var is false. If it was
true it'd.
--------------------------------------------
In the last example it isn't necesarry to
write if ($boolean_var ==
TRUE).
All these examples will only do something if the condition equates to
true, otherwise will don'thing.Hope this helps,
Regards,
Paul.
Blogs related to jump php code
Eclipse PHP PDT Released
Would you like to see those
PHP and JavaScript syntax errors in the editor, without transferring files to the server or opening a browser? If so, then you’re ready to
jump into the world of the IDE — Integrated Development Environment.
...
Affilate Jump Script
We can turn this long URL into: "
jump.
php?m=Just Phones" so the actual HTML link
code will look like Just Phones and the user will be directed to the correct URL by the
PHP Jump script. The
PHP Affiliate
Jump Script
...
PHP Jump To Feature
Easy one for a
PHP pro. I need a search feature installed in a
PHP script that would allow me to
jump to listings by searching username or keyword phrase purchased. See Attachment.
Jim's heart will go on demo goes on...
http://www.atariage.com/forums/index.
php?act=attach&type=post&id=85418 I know I "rounded" the score display at the top, and the man jumping down upside-down in that picture obviously is too large... it's higher than a row of windows,
...
Ultimate cleaner 2007 pop-ups
R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = http://softwarereferral.com/
jump.
php...MjI6Ojg5&lid=2 R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL = http://bt.yahoo.com
...
Worldwide Lexicon : Adding Collaborative Translation To Your Site
The
PHP script expects a small set of variables that contain the source document title, language
code, and source text, making it easy work to fetch this information and feed it back into the hosted WWL service.
...