
allworknoplay
Members-
Posts
385 -
Joined
-
Last visited
Never
Everything posted by allworknoplay
-
CSS mouse over menu, doesn't work in I.E
allworknoplay replied to Alexhoward's topic in PHP Coding Help
Another reason FF rules!!! -
[SOLVED] Send variable to process and back
allworknoplay replied to Matt79's topic in PHP Coding Help
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.... -
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!
-
[SOLVED] Advise: Private PHP forum. Any suggestions?
allworknoplay replied to webmaster1's topic in PHP Coding Help
ahhh got it now, thanks guys...I'm used to Invision boards.... ;D -
[SOLVED] Advise: Private PHP forum. Any suggestions?
allworknoplay replied to webmaster1's topic in PHP Coding Help
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! -
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.
-
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....
-
[SOLVED] Advise: Private PHP forum. Any suggestions?
allworknoplay replied to webmaster1's topic in PHP Coding Help
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. -
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!
-
Well this is posting to "options.php" so what is the code for that file?
-
[SOLVED] Breaking out of two statements deep
allworknoplay replied to eddy556's topic in PHP Coding Help
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; } -
[SOLVED] Breaking out of two statements deep
allworknoplay replied to eddy556's topic in PHP Coding Help
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; } -
[SOLVED] Breaking out of two statements deep
allworknoplay replied to eddy556's topic in PHP Coding Help
Umm, I don't see any "break" statement... -
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.
-
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"; } } }
-
Do you have to serialize the object first before putting it into the DB?
-
deny access unless called from specific page.
allworknoplay replied to mastubbs's topic in PHP Coding Help
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.. -
I'm sorry I'm not familiar with cPanel....
-
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.
-
deny access unless called from specific page.
allworknoplay replied to mastubbs's topic in PHP Coding Help
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. -
allowing users to enter their time and events
allworknoplay replied to runnerjp's topic in PHP Coding Help
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... -
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.
-
Try not putting double quotes around your "1". $action = $_GET["action"]; if ($action == 1) { echo "portfolio"; }
-
probably a realllllly easy question but...
allworknoplay replied to chrishide87's topic in PHP Coding Help
<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>