User Profile

Collapse

Profile Sidebar

Collapse
66sprite
66sprite
Last Activity: Aug 4 '07, 03:44 PM
Joined: Jul 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 66sprite
    replied to Deleting entries
    in PHP
    actually i found the problem, thank you
    See more | Go to post

    Leave a comment:


  • 66sprite
    replied to Deleting entries
    in PHP
    I changed the second page to:

    [code=php]<?php
    if($id=="")
    header("Refresh : 0;url=work.html ");
    else
    {
    include 'datacon.php';

    $query = "delete from stationfailuret est where id='".$id."'";
    $result = mysql_query($qu ery);
    header("Refresh : 0;url=index.php ");
    }
    ?>[/code]

    That way I could test...
    See more | Go to post

    Leave a comment:


  • 66sprite
    started a topic Deleting entries
    in PHP

    Deleting entries

    I am new to PHP and I am trying make a page that displays the entries in a table and then gives the option to delete a specific entry after checking it. I can get the page to display the entries and there is a link to delete the entry but it will not pass the variable to the second page that deletes the entry. Here is my code.

    This is the page that displays the entries:

    [code=php]<?php
    include 'datacon.php';...
    See more | Go to post
No activity results to display
Show More
Working...