How do I make sure an insert or update was done correctly?

Rate this:
By robcutforth (Contact - View My Woyano)
Published Wed 14 May 2008, 207 Views, 1 Comment

I'd like to provide a "Client was updated successfully" once an update has been completed.

How do I do it?  Thanks!


This Item
Category: Knowledge, Questions,
Tags: ezsql questions
Contributor
robcutforth
Share it
Link to this item:
Bookmark this item: RSS Feed

People who liked this item

..

    1 Comments

  1.  
    bkramer ~ 7 months ago
    0 votes thumbs up thumbs down
    here is a quick example:
    if($db->query($query)){echo("Client Updated Successfully");}else{echo("Error updating client");}
    [ reply ]
    1.  
      22 votes thumbs up thumbs down
      This is my two cents...

         
      Hey you know AdGuy always gets the last word! ;)

    Please Login to Add Your Comment   ..or..  

    Replying to comment by