This topic is locked

Inline Syntax Help

5/21/2008 11:24:49 AM
PHPRunner General questions
L
Lisa2006 author

Hi Forum,
How would i adapt the code below to work with:
Inline Add | Add Page: Before record added Event

or

Inline Edit | Edit Page: Before record updated Event
=="scotland")

||($values["country"]=="northern ireland")){

echo "United Kingdon Selected ..." . "<br />";

}else{

echo "United Kingdon NOT Selected ..." . "<br />";

}
Thanks in advance
Lisa

J
Jane 5/22/2008

Hi,
here is a sample:

if ($inline)

{

if (($values["country"]=="england")||($values["country"]=="wales")||($values["country"]=="scotland")

||($values["country"]=="northern ireland")){

echo "<script>alert('United Kingdon Selected ...');</script>";

}else{

echo "<script>alert('United Kingdon NOT Selected ...');</script>";

}

}