Page 1 of 1

code php (if else)

Posted: Tue Nov 13, 2007 6:58 pm
by iserra
??? :pop
I'm with some doubts... my php knowledge are weak and he/she would like to know how to put the code correctamente in the index.php in joomla.

it would like that was like this (I know that in programming terms is not correct):

if{

}else{
0) mosLoadModules('user5',-1); ?>
{

the following:
1) in the it paginates main (home) will take a slideshow (rotative images) type - it doesn't take anything of texts - it will be a module 2) in the remaining buttons they will be in texts - mainbody

thaks for your help

Re: code php (if else)

Posted: Wed Nov 14, 2007 12:08 am
by donnan
You don't have any argument to be decided on.

Code: Select all


if {


You need something like:

Code: Select all

if ($a == $b) {


Cheers
Paul

Re: code php (if else)

Posted: Wed Nov 14, 2007 1:08 am
by pe7er
MOD note: Crosspost deleted. Please do not crosspost your messages. See the Forum rules: http://forum.joomla.org/index.php/topic,65.0.html