Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Nov 22, 2009, 07:04   #4
billy_111
SitePoint Guru
 
billy_111's Avatar
 
Join Date: Jul 2009
Posts: 860
Hey,

Just another quick question. If i want to UPDATE only the latest record, how would i change this SQL:-

Quote:
$present_insert = "UPDATE tbl_past_present SET which_company = '".$_POST['txt_working']."' WHERE member_id = '".$_SESSION['MEM_ID']."'";
I dont think i can add date_added can i?
billy_111 is offline   Reply With Quote
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 03:12.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved