Jump to content

floridaflatlander

Members
  • Posts

    671
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by floridaflatlander

  1. What is it, what are you doing? I see ads and subjects for everything. It looks every plain to me. Why would anyone want to go there. Want's your angle? What are you doing?
  2. ?, is there a link?
  3. is this another subject? anyway three arguments str_replace("Replace this', 'With This', $in_this); Did this come about after the above?
  4. Usually means you need an extra closing parentheses or bracket or you have an extra parenthesis or bracket.
  5. Are you missing a closing ) on the end?
  6. Can you use while ($row = mysqli_fetch_array($rp, MYSQLI_ASSOC)){ echo '<a title="'.$row['title'].'" href="'.$plink.''.$row['pid'].'">'; }
  7. Or even one second Or you can try if (isset($_POST['submit'])) { // Check for a name: if (empty($_POST['name'])) { $error [] = 1; $name_e = '<h5 style="color: red;">* You forgot to enter a name.</h5>'; } else { $name = $_POST ['name']; $name = mysqli_real_escape_string($dbc, trim($name)); } // The other $_POST if (!$error) { // Run UPDATE query if ($results){ // Or mysqli_affected_rows might be better $name_submitted = ''; // Or any variable that would make sense. } } } <input type="text" name="name" size="90" value="<?php if (!empty($name_submitted)) {echo $name_submitted;} elseif (!empty($name)) {echo $name;} ?>" />
  8. I see If they are double clicking it and I think they are I bet the odds are you'll need less than 10 seconds, you may need less than one second. You may need something like this
  9. If that's the case you have to do what ever is unigue. name/title etc.
  10. Okay so all you're doing is checking for duplicates right? Why do you need to use date in your select, can user name or email and title be enough? Unless I'm wrong it just adds stuff. Also I'd use either client or email but not both since a member's name and email are both unique(I would think). So I'd try $query = "SELECT title FROM tkts_topics WHERE email = '$email' AND title = '$title' "; $r = mysqli_query($dbc, $query);
  11. Actually I use member id then an underscore and then time As long as it is UNIQUE and FIXED-WIDTH, I really don't care... Well, and it shouldn't advertise "non-public" info like "member ID", so maybe I disagree some... Debbie Okay #113246
  12. Actually I use member id then an underscore and then time
  13. Will people use the same name for a photo? I don't hash my photo names but I use $member_id.time() for file(picture) names.
  14. I don't know about totally but I agree with the rest of the statement.
  15. $result['product_id'] isn't returning a value? So you have a php problem not a css problem .... ??
  16. It looks almost like the front page to me.
  17. See if his helps, plug your URL in here http://validator.w3.org/ This is a usefull site, it says you have 32 errors, it seems most are because you defined your site as strict. I use <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Also get and use firefoxes firebug it displays colored fields to help you see whats what.
  18. I don't know if this will help but urlencode().
  19. How do you get your info to the destination page? Using something like <form action="destination.php" method="post" >
  20. Is "$this = $_GET ['this'];" on another page/file.
  21. What do you mean wont die? A couple of months ago I was doing some stuff with a cookie that would cease when the browser was closed and look and it was still present in name after I closed and reopened the browser however the cookie would not work on the site, it had expired. I can't remember which browser using. PS. open your browser and click the cookie name, it will tell you when it expires. If it is a past date or time it is no good, it's just listed in the browser waiting to be deleted.
  22. I don't know why you have two semi colons above. you need session_start(); at the top of every page that you're going to use sessions, it needs to be the first thing on the page after the opening php tag and a few comments if any. you can echo "Welcome {$row['username']}! You've been successfully logged in. <a href=\"/index.php\" title=\"Click here to go back to the homepage.\">Home Page</a></li></ul>"; or echo "Welcome {$_SESSION[username]} You've been successfully logged in. <a href=\"/index.php\" title=\"Click here to go back to the homepage.\">Home Page</a></li></ul>"; or get rid of all that double quote stuff echo 'Welcome '.$_SESSION[username].'! You've been successfully logged in. <a href="/index.php" title="Click here to go back to the homepage.">Home Page</a></li></ul>';
  23. Yeah, when they close their browser the session ends $_SESSION[username] = $row[username]; doesn't set a time to stay active.
  24. You're not looking at the code? Depending on floats or positions put the image in the div
×
×
  • 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.