Jump to content

TheBG

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Male
  • Location
    Fort Myers, FL

TheBG's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What, exactly is in $image ?
  2. So the first thing you need to do is write a query that retrieves all data with any (all) given ID. Hint: use SELECT
  3. Have cleared the cache?
  4. And there you go. Has the code and didn't learn a thing. Gosh you sure are smart jcbones, you knew the answer.
  5. How are you showing your original page? Post the code.
  6. You lost me. You're talking about strtotime() and showing date(). Try $timeStamp = strtotime("$signupmonth-$signupdate-$signupyear")
  7. As has been said many times: Google is your friend http://www.google.com/#hl=en&source=hp&q=benchmarking+php+and+SQL&aq=f&aqi=&aql=&oq=&gs_rfai=CYDySRT0JTK2fFpuIzQSkqOHgBgAAAKoEBU_QpdTY&fp=bc61a410ca70b80
  8. Post the code to create the date. Sorry, my bad. Your looking for a way to do it. strtotime() works to get a times tamp. Then just add the number of seconds in 7 days and add it to the time stamp. Finally, use date() to format the time stamp.
  9. Well, since the error message echos your user name correctly and confirms you're using a password, there just isn't a whole lot of wiggle room. Just for giggles, change your password in SQL and then try it again with the new password.
  10. explode on the '/' which will give you an array of array['name' and array['time'] then just loop through that array.
  11. Buy yourself a copy of this book PHP Solutions Dynamic Web Design Made Easy by David Powers from Friends of Ed You'll never regret it.
  12. while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['IDNumber'] . "</td>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td><a href='editPage.php?edit=" . $row['IDNumber'] . ">Edit</a>"</td>; echo "</tr>"; } echo "</table>"; mysql_close($con); Now just pick up the $_GET array on the edit page and you're good to go
  13. A PHP solution would be to create an 'include' area on the index page that would show content based on a query line $_GET array. Very simple example <?php if( $_GET['action'] == 'page1') { include'page_1.php'; } else if( $_GET['action'] == 'page2') { include'page_2.php'; } and so on links would look something like this <a href='index.php?action=page1'>Page 1</a>
  14. Go here: http://clmbot.phdatabase.com/ This is a bot I built to monitor craigslist categories and email or SMS when new items are added. If you want to build something like this you will definitely need to know cURL (not that hard).
  15. The first thing I would do is change the handle in the CURLOPT_PORT line to $cinit instead of $cibit. Then I would turn on error checking while developing.
×
×
  • 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.