Help - what wrong here?

Started on the old forum in November 2011 · view the original in the archive · old links redirect here

5 replies · 310 views · started 15 years ago · 1 min read

3 participants
puge Developer · 54 posts #1

What wrong here?

<?php echo $session->KeyExists("edittable") ? "Edit" : "Create"; echo " site\n\n<h2 class=\"headding\">"; echo $session->KeyExists("edittable") ? "Edit" : "New"; echo " Site</h2>\n"; if (!isset($_SESSION['siteCreationProgress']) && $_SESSION['siteCreationProgress'] == 1) { include_once(WAPGO_ROOT . "/modules/Site/new/create1.tpl"); } else if ($_SESSION['siteCreationProgress'] == 2) { include_once(WAPGO_ROOT . "/modules/Site/new/create2.tpl"); } else if ($_SESSION['siteCreationProgress'] == 3) { include_once(WAPGO_ROOT . "/modules/Site/new/create3.tpl"); } else if ($_SESSION['siteCreationProgress'] == 4) { include_once(WAPGO_ROOT . "/modules/Site/new/create4.tpl"); } echo " \n \n"; ?>

what i got in display back is: Create Site New site.

Meanwhile it should be: Create Site New site

( step 1 here. )

Please comment. I have to fix this.

puge Developer · 54 posts #3

how ??? Please.

puge Developer · 54 posts #5

same result bro.

puge Developer · 54 posts #6
<?php session_start(); echo $session->KeyExists ("edittable") ? "Edit" : "Create"; echo " site\n\n<h2 class= \"headding\">"; echo $session->KeyExists ("edittable") ? "Edit" : "New"; echo " Site</h2>\n"; if (!isset($_SESSION ['siteCreationProgress']) && $_ SESSION['siteCreationProgress'] == 1) { include_once(WAPGO_ROOT . "/ modules/Site/new/create1.tpl"); } else if ($_SESSION ['siteCreationProgress'] == 2) { include_once(WAPGO_ROOT . "/ modules/Site/new/create2.tpl"); } else if ($_SESSION ['siteCreationProgress'] == 3) { include_once(WAPGO_ROOT . "/ modules/Site/new/create3.tpl"); } else if ($_SESSION ['siteCreationProgress'] == 4) { include_once(WAPGO_ROOT . "/ modules/Site/new/create4.tpl"); } echo " \n </ p>\n"; ?>

even if its fixed like this, same problem. Please anybody? Take a look at this...?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close