Jump to content

Spring

Members
  • Posts

    224
  • Joined

  • Last visited

Everything posted by Spring

  1. Yes i can! Bit I simply mean showing the BBC, I had to manually type the BBC. I had no idea it was going to work until I tired it. Maybe at least add a confirmation saying that BBC is allowed in the profile signature? My apologies for confusing anyone.
  2. http://www.phpfreaks.com/forums/index.php?action=profile;area=forumprofile; to modify things like your siggy?
  3. I was actually curious about this myself.
  4. Ah I thought adding BBC to the forum profile page (At least the first four bold, italic, underline strike) would make things easier for people. Though it's not like it's super important or anything, just a suggestion. I was able to find the following mod. http://custom.simplemachines.org/mods/index.php?mod=450
  5. I would think it's personal opinion and also dependent on how important the users email is for your site. Yours seems fine to me, If someone wants to troll around with the email there's no point in stopping them.
  6. Sorry, I don't use much pure javascript, but this doesn't look right. if(reg_n!==null|| reg_p!==null || reg_email!==null || reg_p_m!==null || reg_n!=="" || reg_p!=="" || reg_email!=="" || reg_p_m!=="") Should you be using Logical AND and also being using '!=' not '!==' Hopefully, I helped. try if(reg_n != null && reg_p != null && reg_email != null && reg_p_m != null && reg_n != "" && reg_p != "" && reg_email != "" && reg_p_m != "")
  7. Glad to have ya
  8. The action doesn't have to be sent unless you want to use a different page for your email script, but you should have a method to pass the data. Then you would use mail There's tons of tutorials on making an email script. Just google Here's one I googled for an example, though I don't really like W3schools much myself. http://www.w3schools.com/php/php_mail.asp
  9. Jquery is the example I used.
  10. // Put an animated GIF image insight of content $("#content").empty().html('<img src="loading.gif" />'); // Make AJAX call $("#content").load("http://example.com");
  11. Hi. I'd suggest changing your code to what Mj mentioned. http://www.phpfreaks.com/forums/index.php?topic=349006.0 Um, let's not, since that won't work. A field that a users does not fill in a value for is still set - it just happens to have a value of an empty string. And, you should always use trim() on user input. Otherwise, a value of only spaces will appear as having a non-empty value. $first = trim($_POST['First']); $middle = trim($_POST['Middle']); $last = trim($_POST['Last']); $personal = trim($_POST['Persona1']); if(!empty($middle)) { $middle = $middle.'.'; } echo "{$first}.{$middle}{$last}.{$personal}.<br>\n"; Although you should really think about using htmlentities() on the values to prevent any values that might be interpreted as HTML code from screwing up the page.
  12. Otherwise, a value of only spaces will appear as having a non-empty value. Oh wow, you're right! I never knew that! looks like I learned something new!
  13. Fair enough..but couldn't he just use empty Threw this together real quick and it worked fine <html> <form action = "" method = "POST"> <input type = "text" name = "name"> <input type = "submit"> </form> </html> <?php if(!empty($_POST['name'])){ echo "set"; } else { echo "not set"; } However, isset did not work as you mentioned above.
  14. Rofl. Ah lord. Now I HAVE to get something for my cousin.
  15. Woooot Good job lol.
  16. Spring

    rtrim help

    <?php $pathexpress = "email/message/to/toFirstName"; $childLabelPath = "email/message/to/toFirstName /#text"; //space $curChildLabelPath = rtrim($childLabelPath, "/#text"); echo $curChildLabelPath; ?> I'm not sure if this helps you at all, but this worked for me.
  17. use isset eample: if(isset($_POST["Middle"])){ echo $_POST["Middle"]; }
  18. I have a site where I pull mysql from the database, but it's a short sentence.
  19. http://api.jquery.com/jQuery.ajax/ Have fun!
  20. Use jquery to hide the two drops downs. Onclick show the first one, on another click show the second one. I don't know if there's a tut on what you're looking for, but you can use Jquerys documentation to look through the functions. http://docs.jquery.com/Main_Page Ill link the one's I think you'll be using. http://api.jquery.com/hide/ http://api.jquery.com/slideUp/ http://api.jquery.com/click/ Just use a small amount of logic and tada.
  21. Sure. Border-radius. Even a site to do it for you. http://border-radius.com/
  22. Just use a Mysql Join. SELECT {WHATEVER} FROM 'uitems' AS u INNER JOIN 'items' AS a ON u.item_id = a.item_id WHERE {WHATEVER}
  23. Post your code so we can help you. Are you using session_start?
  24. Is all of the HTML not showing up? Or just the data ?
  25. mysql_result mysql_fetch_array if($row = mysql_fetch_array($result)){ redirect("../welcome.php"); }
×
×
  • 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.