Jump to content

HakonHoy

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by HakonHoy

  1. I have a field called: news_date in a my sql db... it is a "datetime" thing, and it stores the date in this format 0000-00-00 00:00:00 .. how can I display the date in other formats? eg. the day and the month ?
  2. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<A HREF='edit_other.asp?id=" & rs("ID") & "&mode=delete' " & "onClick=" & MyQuote & "return confirm('Are you sure you want to delete this news ?');" & MyQuote & "><font face='verdana, arial, helvetica' size='1' color='#014A65'>Delete</font></A> [/quote] I got this code in ASP.. what I need is to have it in php.. what i'm actually most interested in is the return confirm thing.. is there a code for such a thing in php, if yes, can anyone please tell me what it is, I have been looking all over for it...
×
×
  • 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.