Jump to content

allworknoplay

Members
  • Posts

    385
  • Joined

  • Last visited

    Never

Everything posted by allworknoplay

  1. Another reason FF rules!!!
  2. What you should do is create a function to first test for valid email. If say someone put in "[email protected]" you don't want your script to automatically add "@test.info" So you will end up with "[email protected]@test.nfo" So check for that first, if it's just a regular name, then you can add the email part....
  3. Thanks for stating what i am doing wrong but not offering any input as a solution. come on now, let's not get nasty. We are all here volunteering help!
  4. ahhh got it now, thanks guys...I'm used to Invision boards.... ;D
  5. Hey, I never said it was a GOOD idea....LOL... BTW, I am new to these boards, how the heck do you respond to someone while "quoting" them but being able to access the full REPLY options? Everytime I click on QUOTE, it takes me to a QUICK REPLY and l lose the extra options... What gives? Thanks!
  6. a leap forward. I skimme through the article but I don't see anything about powering LCD's or any other useful items? also when new OLED type LCD's come out that use even less energy, we can really start taking advantage of technologies like this.
  7. I'm glad i found this thread, I was going to subscribe but wasn't sure how good it was. seems like publishing their magazines isn't of absolute priority, or maybe they need a PHP programmer to write them a publishing schedule so they aren't late... LOL....
  8. This is really easy. Just host the forum and instead of the main file being say index.php, make it to an unknown file like myindex.php and only tell people that you want going there what the link is... Most boards also have features to turn off auto-register so you turn it off and only register members manually yourself.
  9. Umm, have your sister site generate the data via XML. Then simply use PHP's SimpleXML function to read the data. Voila! You're done!
  10. Well this is posting to "options.php" so what is the code for that file?
  11. I see... foreach($_POST as $var => $value) { echo "Array title: " . $Movies[$movieno]["title"] . "<br />"; echo "Post value: " . str_replace('_', ' ', $var) . "<br />"; if($Movies[$movieno]["title"] = str_replace('_', ' ', $var)) { $Movies[$movieno]["rating"] = $value; $i_am_breaking = "true"; break; } if($i_am_breaking == "true") break; }
  12. Dude, I still don't see any break in there, but anyways here you go: if($Movies[$movieno]["title"] = str_replace('_', ' ', $var)) { $Movies[$movieno]["rating"] = $value; break; }
  13. Here is your URL: www.site.com/topic.php?id=4 If you want to get the $_GET, you would call: $_GET[id];
  14. Umm, I don't see any "break" statement...
  15. Well my "for loop" works. All you have to do is just implement a calculation that correctly identifies multiples of 7.... Then put the numerical answers into an array. And during the loop check the array values and if they appear, then do an echo statement.
  16. Well I don't know how often you want your loop to run? But let's say it loops 30 times. $i = 30; for ($d=0;$d<$i;$d++) { if($d == 7 || $d == 14 || $d == 21) { echo "something"; } } }
  17. Do you have to serialize the object first before putting it into the DB?
  18. You're getting that error because you are outputting data or whitespace before you are calling the session. If you are starting session in a include file, not the main parent file, it's not going to work. The main frame file has to be the one starting the session from the top..
  19. I'm sorry I'm not familiar with cPanel....
  20. Well this is more HTML question than PHP. You aren't setting your values in your option attributes. <select> <option value="black">Black</option> <option value="green">Green</option> <option value="steel">Steel</option> </select> And your using POST method, that's wrong if you want your selection to go up in your URL. You will have to use GET method.
  21. Well you can just check to see if $_GET is empty. It's not really the best solution, but it's an easy solution to get you on your way until you can come up with something more secure.
  22. well you should look at the variables you are using then to see if they are being populated. SELECT * FROM pb WHERE uid=$uid AND distance=$dist $uid and $dist If they aren't being filled, then your select statement will fail. The issue is in your query... Or so it seems...
  23. Ummm this is kinda of a loaded question. You create a table in the DB to store emails created. When they submit the email, it inserts the data to the DB, while sending out email.
  24. Try not putting double quotes around your "1". $action = $_GET["action"]; if ($action == 1) { echo "portfolio"; }
  25. <p class="footer_toolbar_links"> <?php foreach($menu as $item) { echo " | <a href=\"{$item->value}\">" . $item->name . "</a>"; } echo " | <a href=\"http://www.externallink.com\">External Link</a>"; ?> </p>
×
×
  • 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.