Jump to content

PunjabHaker

Members
  • Posts

    33
  • Joined

  • Last visited

    Never

Posts posted by PunjabHaker

  1. the time is now 100 (minutes)

    in the database the last updated time is 102 (minutes)

    the last update time will be 102-100 = 2 (minutes)

    again

    the time is now 100 (minutes)

    in the database the last updated time is 2 (minutes)

    the last update time will be 2-100 = -198(minutes)

    how can i make a last updated time script ?

    any idea please ?

    thanks

  2. print "<td width='10%' align='right' valign='top'

    onmouseover = this.style.background = 'red'

    style='border: 1px solid #7F8FA9; background-color:$colors'><center>";

     

     

    when mouse is over i want it to change the cell color

    where am i wrong ?

  3. i have 2 files: index.php and s.php

    the first lines in both files are:

    <?php

    session_start();

    ?>

    in the file s.php i got this error:

     

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\Web Design\clothes store\accesories.php:1) in D:\Web Design\clothes store\s.php on line 2

     

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\Web Design\clothes store\accesories.php:1) in D:\Web Design\clothes store\s.php on line 2

     

    please help

    where am i wrong ?

  4. Hey guys, one thing more please
    If i have another row, "quantity"
    If quantity =2 and the price is 240, i want the total price to be 480$.
    Please help me this time,
    i want it to print the total price for products including quantity, please help me.
    the code that prinf gave me is very good but i want it to show me the total price including quantity.
    thanks you very much
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.