Could anybody tell me how to combine these?
This:
if function
{
error("TExt");
}
Inside this one:
if something
{
function
}
else
{
function
}
}
Try the elseif statement.
if *** {
function;
} elseif *** {
function;
} else {
function;
}
(2014-02-20, 07:34 PM)marcus123 Wrote: [ -> ]Could anybody tell me how to combine these?
This:
if function
{
error("TExt");
}
Inside this one:
if something
{
function
}
else
{
function
}
}
if ($something)
{
function()
}else{
error("TExt");
}
Thanks very much I am sorry for such a simple question but I am only starting with PHP