LOL, yes, nice catch Kevin! I will fix the post! Flying fingers… Oooops! NOW THAT is BAD CODE!
Oh, so you really want me to believe that you already knew that Mysqli functions have an i?
Wink! Wink! Nudge! Nudge! Yep, I knew that one… LOL
hi got it working but now everything i try to add under the css menu bar it just adds it to the css menu bar. So what tarts off a slim menu bar just gets longer and longer. can you help please.
[php]<?php
session_start();
include_once ‘dbconnect.php’;
if(!isset($_SESSION[‘user’]))
{
header(“Location: index.php”);
}
$res=mysql_query(“SELECT * FROM users WHERE user_id=”.$_SESSION[‘user’]);
$userRow=mysql_fetch_array($res);
?>
<div class="footer">
copyright @2016
Well, you showed a “wrapper” div and then an
- tag with menus… You need to display your data under
the
nope does not work. ive edited the code but still not working.
[php]<?php
session_start();
include_once ‘dbconnect.php’;
if(!isset($_SESSION[‘user’]))
{
header(“Location: index.php”);
}
$res=mysql_query(“SELECT * FROM users WHERE user_id=”.$_SESSION[‘user’]);
$userRow=mysql_fetch_array($res);
?>
- <?php echo $userRow['user_name']; ?>
- Profile
- Friends
- Messages
- Notifications
hellooooooooooooooooooooooooooo
hellooooooooooooooooooooooooooo
hellooooooooooooooooooooooooooo
<div class="footer">
copyright @2016
[/php]LOL… DJ, you keep showing a lot of parts of your code. That is fine, but, since I can not see the entire layout
of the page, I have to guess… Now this time, you showed more of the code that has to do with your menu
system. Now, looking at this last post, you showed the menu is placed INSIDE a DIV tag like this…
Obviously, if you want to display items OUTSIDE of the menu, you would need to place them OUTSIDE the tags
for the entire menu. So, place items not to be shown in the menu, below the closing CSSMENU DIV…
Does that make sense to you? So, your code you posted would change to this instead:
[php]
hellooooooooooooooooooooooooooo
hellooooooooooooooooooooooooooo
hellooooooooooooooooooooooooooo
[/php] So, the menu is INSIDE the DIV tags and your new lines would be OUTSIDE of the DIV tags. Should make sense to you... Hope you get it...you ernie are the php king thank you ;D
LOL, well, others on this site are much better programmers than me… I just see the obvious sometimes…
Glad you solved this one… Marking it solved. When you hit another problem, start a new post…