Results 1 to 3 of 3

Thread: PHP:ช่วยดูCode เรื่องการกดปุ่มเปลี่ยนหน้า Next,Back ทีครับ

  1. #1


    [code]

  2. #2
    Junior Member
    Join Date
    Feb 2009
    Posts
    12


    ไม่รู้ว่าจะตอบช้าไปไหมนะคับ...

    สำหรับคำถามแรก เป็นผม ผมจะใช้ if นะ จะแบบย่อหรือแบบเต็มก็ใช้ได้

    คำถามที่สอง แล้วก็วิธีปักหมุด หรือล็อกกระทู้น่าจะสร้าง column เพิ่มใน database นะ ว่ากระทู้นี้ถูกปักหมุดหรือเปล่า ถ้าถูกปักหมุดก็ให้อยู่ข้างบน
    ไม่แน่ใจว่าเกี่ยวกับ Javascript ยังไงอะัคับ

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    1


    [code]<a href=&#39;index.php?pageno=0&#39;>First </a>
    <? if($pageno<>1){?>
    <a href=&#39;index.php?pageno=<?=$pageno-1?>&#39;>Back</a>
    <? }?>

Similar Threads

  1. ขอผู้รู้เรื่อง Sub 7 ทีครับ
    By tack999 in forum Newbie / Starter Hacker
    Replies: 2
    Last Post: 09-07-2009, 12:28 PM
  2. Replies: 4
    Last Post: 23-03-2009, 01:03 PM
  3. Replies: 9
    Last Post: 20-10-2008, 01:21 PM
  4. ช่วยเขียนโค้ด C++ ทีครับ
    By Black_List in forum C/C++,C#,VC++,MFC,Win32
    Replies: 2
    Last Post: 21-07-2008, 04:32 PM
  5. Replies: 4
    Last Post: 26-11-2007, 04:03 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •