Jump to content

waynew

Members
  • Posts

    2,405
  • Joined

  • Last visited

Everything posted by waynew

  1. After sending, redirect back to index with a GET variable such as header('Location: index.php?sent=Y'); Then on index.php if(isset($_GET['send']) && $_GET['send'] == "Y"){ echo 'Success'; }
  2. You can do this using CSS. Set the main container: <div style="width:100px; background-color:#fff; border:#eee 1px solid; height:30px;"> <div style="width:<?php echo $percent; ?>%; background-color:#eee;"> <> <>
  3. You'll need to post the query you currently have and the table structure before anyone can help you out properly.
  4. Seems like a bug: http://bugs.mysql.com/bug.php?id=28359
  5. If you have a column called Customer with either a N or a Y in it, then your query could look like: $query = "SELECT * FROM MyTableName WHERE Customer = 'Y'"; If the query becomes slow, you should look into indexing the Customer column. Or have I misunderstood your question? If so, please show us your table schema (structure).
  6. You should really write a message system yourself. It'll be a good experience, as it's not as straight forward as it sounds.
  7. You could post the email address in an image? But then again, people will probably want to copy and paste it.
  8. Yes but Lightbox is a lot more neater looking. I checked that script and it didn't look as polished.
  9. Where are you getting $formOK from?
  10. Hmm. That function always works for me. Maybe its your server or your email client.
  11. Look into Lightbox.
  12. A thumbnail can be either cropped or resized (usually cropped). Look into cropping images with PHP.
  13. Are you using simple_mail($from, $to, $subj, like simple_mail("[email protected]", "[email protected], "Hi", ??
  14. <?php $currentDate = time();// current date $date = $currentDate - (86400 * 3); $ttldate = date('m-d-y', $date); echo $ttldate; ?>
  15. What do mean by "Select Text"? As in, highlight the text? Because I can highlight the text on your site. I've noticed that some of the text is just text in an image, which would explain why you can't select it.
  16. date("d-m-y");
  17. You should also check out the checkdate() function: http://php.net/manual/en/function.checkdate.php
  18. I don't think I fully understand your question. Say you redirect to blahblah.php?id=X if(isset($_GET['id']) && $_GET['id'] == "X"){ //true } else{ //false }
  19. mysql_query("DELETE FROM Members WHERE email='".$_SESSION['logname']."'"); ...will probably work.
  20. You will need to use JavaScript to solve this problem. If you're wanting the form to change based on what the user chooses from a drop down menu (or something else etc), then you'll need to look into JavaScript.
  21. Hey buddy, you could try using my function if you want. It's pretty simple stuff and I always use it on projects: function simple_mail($from, $to, $subj, $msg, $charset="UTF-8", $extraheaders=""){ $headers = "From: {$from}\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: text/html; charset=\"$charset\"\n"; $headers .= "Content-Transfer-Encoding: 7bit\n"; $headers .= $extraheaders; $headers .= "\n"; $msg = $msg."\n\nThank You"; @ $ret = mail ($to, $subj, $msg, $headers, "-f$from"); return $ret; }
  22. It's a WordPress theme I got from Smashing Magazine. Hacked it up, made a new logo for it, integrated adsense units etc. http://novascone.com
  23. Firstly - potential clients could end up viewing your site in IE. Take that into consideration. When I first landed on the splash page, I thought to myself "What now?" Maybe that page a little bit more usable by making it more obvious that the face can be clicked on? I'm not really fond of the font you used at the top for "Hi, I'm Andy". May I ask what your sexual orientation has to do with your design capabilities? If you're wanting to tell people more about yourself, why not add other pieces of information as well, instead of just focusing on that one part of your life? Just seems a bit odd to me. I like the color scheme of the site. Minimalist. Why do you have a link to your splash page on the main navigation? It's kind of pointless, don't you think? Also note that "home" and "index" are often considered to be the same thing. Don't mean to sound negative or anything but the whole ... makes you sound kind of too sarcastic. Will potential clients appreciate that? I know you have to make your site personal etc, but humor doesn't always translate well over text. Keep that in mind.
  24. You're looking for streaming software?
×
×
  • 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.