Jump to content

Night_Tripperz

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by Night_Tripperz

  1. I have a script which is unique to each entry in my database. So what i am trying to do is name the scripts according to there ID and then include them on my page. E.g. i want to do something like <? include 'pages/pages<? echo $id ?>.php' ?> but i can't seem to figure it out, any idea's?
  2. I think you should at least let people play a demo of the game because then at least they will know what they are playing and weather they like it or not then to sign up.
  3. Windows well its the only one ive ever used lol  :D
  4. Many websites I have something like a store locator where you enter a zipcode and it gives nearby stores up to 20 or 30 miles from your zip code.  How would I go about  making something like this? Thanks!
  5. Dont you mean error session? you need to alter this line in your php.ini file — session.save_path = /tmp — changing it from the unix syntax to a windows syntax.
  6. How to get the next record for each time the icon is pressed ? the database like 1000 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 for example, the first record showed is 1000, when i press the icon, it should only show 1000, when i press the icon second time, it shold only display 1550, the third time i pressed it should only show 1551. (ie. click one time, and the running number will increase one ) however my code will show all the records from the first until the end, what's the problem ? below is the codes. =================================================================== $sql = "SELECT * FROM record"; $rs  = $db->Execute($sql);     $record =  $rs->fields[RecordNo];     $total = $rs->RecordCount();     $i = 0; ?> <form method='post' action='index.php'> <table width='200' border=1> <tr><td width='100'>Current Number</td>     <td width='100'><?=$record?></td> <tr> <tr>     <td colspan='2' align='right'>     <a href='index.php?generate=generate'><img src='images/mouse.gif' border='0' title='GENERATE'>[/url]</td> </tr> </table> </form> <? if ($_GET[generate]==generate) {     while (!$rs->EOF)     {     $record =  $rs->fields[RecordNo];     print $record;     echo " ";     $rs->MoveNext();     }     } ?>
×
×
  • 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.