Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7576015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:49:17+00:00 2026-05-30T16:49:17+00:00

This is what I have for the code: <?php $link = SELECT * FROM

  • 0

This is what I have for the code:

<?php
    $link = "SELECT * FROM epk";
    echo '<b><font face="Arial, Helvetica, sans-serif" size="2" color="#FF6666">' . date("m.d.Y", strtotime($startTime)) . '</b>';
?>

I read a lot of the different fixes on this site, but I can’t seem to translate it to my line of code. I didn’t write this, but the person that did it for me has become unreachable. If anyone can tell my how to fix this I would appreciate it.

Thank you VERY much!


CORRECTION:

I’m so sorry. I have no idea why I posted that code. That was not the original one, what I posted was one I found that I tried to mess with. THIS is the original one that I have now that used to work:

<?php $link = "SELECT * FROM epk"; echo '<b><font face="Arial, Helvetica, sans-serif" size="1" color="#FF6666">' . date("m-d-y",strtotime($r['date'])) . '</b>'; ?> 

Many thanks! 🙂


CORRECTION

I got it… for what I had, I just made a wild guess and added the letters “OW” to the $r line and it worked. Here it is, and hopefully it can help someone else out if they see this…

<?php $link = "SELECT * FROM epk"; echo '<b><font face="Arial, Helvetica, sans-serif" size="1" color="#FF6666">' . date("m-d-y",strtotime($row['date'])) . '</b>'; ?>

Hope that helps someone else out too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:49:19+00:00Added an answer on May 30, 2026 at 4:49 pm

    It looks like your missing some information here.

    Your $startTime variable is not initialized in this code, it is never “set” anywhere. So your essentially passing “0” into your strtotime function. This means “0 seconds after the Unix Epoche, December 31, 1969 at midnight”.

    You would need to run the query called “link” first, and extract the data stored in the resulting query and pass that into the variable $startTime.

    Basically, your missing a bunch of code here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this PHP code echo '<a href=# onclick=updateByQuery(\'Layer3\', ' . json_encode($query) . ');>Link
I have borrowed code from this link PHP regex templating - find all occurrences
I have this php code $jsonArray = array(); $sql = SELECT ID,CLIENT FROM PLD_SERVERS;
I have my php code like this: $products = mysql_query(SELECT p.* FROM products AS
I have this code which will include template.php file from inside each of these
I have the code below: $result = mysql_query(SELECT link, notes FROM links WHERE username='will';);
I have this code: $query = select id from votes where username = '$user'
I have this code: <?php $fql = SELECT url, normalized_url, share_count, like_count, comment_count, ;
I have this code in PHP. It connects to the DB fine, but pops
I have this php code, with which I am trying to generate a popup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.