I am trying to learn MySQL to,

'1 call all records from base
'2 count number of records and store number as maxID,
'3 display 1st record set by the ID number,
'4 -A - add one to ID number- display record set in frame1 :(working_on_page_refresh
   -B - mins one from ID number- display record set in frame1 :(working_on_page_refresh
   -C - goto recordset maxID- display record set in frame1 {THIS-IS-WHY-I-AM-HERE@mom }
   -D - goto recordset1- display record set in frame1 :(working on_page_refresh)
   -------------------------------
   'HELLO WORLD 
   -------------------------------
 <?php  
   -------------------------------
   'Thanks for helpping 
   -------------------------------
include('conect.php');
    ---------------------
     'conect to base the waiter enters the kitchin
    ---------------------
$page = (isset($_GET['page'])) ? $_GET['page'] : 1;
    ----------------------
    'ouput recordset page1 the waiter orders the dinner
    ----------------------
$startPoint = $page - 1;
    '----------------------
    'return recordset_page1 the waiter recives the dinner
    ----------------------
$data = "SELECT * FROM table000 ORDER BY id ASC LIMIT $startPoint,1";
    ----------------------
    ***recordset1{now know as $data} = allrecords from table startting at recordset1*** the head chef delivers the dinner to the waiter
    ----------------------
$query = mysql_query($data);
    ----------------------
    adds the question to baseresult and calls it $data string -the chef [know as {mysql_query}] puts the dinner on the plate
    ----------------------
$data2 = mysql_fetch_array($query);
    ----------------------
   run the questin and get all the recordsets from ever ID and call them data2 -fill the plate with dinner[ know as {$data2}] from the waiters orderpad [know as {mysql_fetch_array($querry);}]
    ----------------------
$rowCount = 0;
    ----------------------
    'placeholder for emptry recordset-like a dinner plate 0
    ----------------------
?>
    'open
----------------------------------------
Start.
{{{{{{{{{{{{{{{{{

****HUTSTON :( THIS IS THE BIT THAT DUZ NOT COMPUTE @themom.)

<A href="booyou.html?page=<?php echo $rowCount?>">Last</A>
   -------------------------------------
   show maxID as recordset.\HUSTON**** 

can anyone understand where my max dinner is please ?

ps how many pixels duz it take to change a programer ?

Member Avatar for LastMitch

can anyone understand where my max dinner is please ?

I don't know, the reason is very simple. Is max dinner is in one of your table in your database?

It's a bit hard to assist you if you don't know what you are doing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.