ข้อมูลน้อยไปนิด
แต่ดู ๆ แล้วก็น่าจะเลื่อนธรรมดาได้เลยนี่ครับ
ทำไม mysql error อ่ะ
ลองเอาโค้ดเต็ม ๆ มาสิครับ
โค้ดเต็ม ๆ ก็เเบบนั้นเลยคับผม
<?php if ($_SESSION['User']==''){ ?><?=$txt[6]?> <a href="register.php"><span class="blues">
<?=$txt[7]?></span></a><img src="image/camela.jpg"/><a href="forgot_password.php">
<span class="blues"><?=$txt[8]?></span></a>
<?php }else{?>
<?=$txt[14]?><?php echo $_SESSION['User'] ?> <a href="logout.php" class="blues"><?=$txt[15]?></a>
<?php }?>Warning: mysql_connect() [function.mysql-connect]: Access den-----
มัน ERROR เกี่ยวกับ connect DB ครับ
ไม่เกี่ยวกับการย้าย TEXT เลยอ่ะครับ
เอา โค้ด Backup คืนมาก่อนเลยอ่ะครับ....แล้วค่อย แก้ TEXT ทีหลังครับ
<?php if ($_SESSION['User']==''){ ?><?=$txt[6]?> <a href="register.php"><span class="blues">
<?=$txt[7]?></span></a><img src="image/camela.jpg"/><a href="forgot_password.php">
<span class="blues"><?=$txt[8]?></span></a>
<?php }else{?>
<?=$txt[14]?><?php echo $_SESSION['User'] ?> <a href="logout.php" class="blues"><?=$txt[15]?></a>
<?php }?>V
V
แก้เป็น....น่าจะเข้าใจง่ายขึ้นนะครับ
V
V
<?php if ($_SESSION['User']==''){ ?>
<?=$txt[6]?>
<a href="register.php"><span class="blues"><?=$txt[7]?></span></a>
<a href="login.php"><span class="blues"><?=$txt[5]?></span></a>
<img src="image/camela.jpg"/><a href="forgot_password.php"><span class="blues"><?=$txt[8]?></span></a>
<?php }else{?>
<?=$txt[14]?><?php echo $_SESSION['User'] ?> <a href="logout.php" class="blues"><?=$txt[15]?></a>
<?php }?>