Search:

Type: Posts; User: Twey; Keyword(s):

Search: Search took 0.05 seconds.

  1. Replies
    85
    Views
    88,550

    I've bookmarked this thread, and I consider it...

    I've bookmarked this thread, and I consider it daily :) When I spot an answer, I assure you I'll let you know.
  2. Replies
    85
    Views
    88,550

    Please add another row to the database.

    Please add another row to the database.
  3. Replies
    85
    Views
    88,550

    Should be:...

    <td><?php echo($row[$i]); ?></td>Should be:
    <td><?php echo($row[$cols[$i]]); ?></td>I think.
  4. Replies
    85
    Views
    88,550

    Not enough info. What's the code now, then?

    Not enough info. What's the code now, then?
  5. Replies
    85
    Views
    88,550

    I think your PHP and MySQL versions are more...

    I think your PHP and MySQL versions are more important than your OS. Tell us those, and manually execute the command:
    select * from `request`;... on your database. What is the output?
  6. Replies
    85
    Views
    88,550

    Well how about you find out?

    Well how about you find out?
  7. Replies
    85
    Views
    88,550

    You still haven't answered my question.

    You still haven't answered my question.
  8. Replies
    85
    Views
    88,550

    Usually means there were no results. What's the...

    Usually means there were no results. What's the layout of your table?
  9. Replies
    85
    Views
    88,550

    No, not (ID), just ID.

    No, not (ID), just ID.
  10. Replies
    85
    Views
    88,550

    Eh? Paste the top bit of the script after...

    Eh?

    Paste the top bit of the script after you've configured it (without username and password, obviously).
  11. Replies
    85
    Views
    88,550

    I'm guessing you missed a quote somewhere.

    I'm guessing you missed a quote somewhere.
    <?php
    $conn = mysql_connect('dbserver', 'dbusername', 'dbpassword');
    mysql_select_db('databasename');
    $tablename = 'mytable';
    $uniquerow = 'id';...
  12. Replies
    85
    Views
    88,550

    Is that with my script, or the other?

    Is that with my script, or the other?
  13. Replies
    85
    Views
    88,550

    All you need is a unique column, which your table...

    All you need is a unique column, which your table must already have. Just change the 'id' to the name of your unique column, and surround the value with quotes where it's used in to delete a row if...
  14. Replies
    85
    Views
    88,550

    However you created the table in the first place....

    However you created the table in the first place. :)

    Errrr... I'm pretty sure that won't work.
  15. Replies
    85
    Views
    88,550

    Uh... you... add it to your table. :)

    Uh... you... add it to your table. :)
  16. Replies
    85
    Views
    88,550

    No, so long as you have a unique numerical column...

    No, so long as you have a unique numerical column called "id".
  17. Replies
    85
    Views
    88,550

    View Post

    <?php
    $conn = mysql_connect('dbserver', 'dbusername', 'dbpassword');
    mysql_select_db('databasename');
    $tablename = 'mytable';
    if(isset($_GET['delete']))
    if(!is_numeric($_GET['delete'])) die();...
Results 1 to 17 of 17