|
|
|
#1 (permalink) | ||||||||||||||
|
PC Gamer
|
Okay, I made up this test script to test out a form's result and I'm having troubles.
Quote:
Code:
echo "$source"; EDIT: THIS is the form that I'm recieving $_POST['type'] from.
__________________
I am 89% addicted to Counterstrike. What about you? Upgrades of the future...*New GPU
|
||||||||||||||
|
|
|
|
#2 (permalink) | ||||||||||||||
|
PC Gamer
|
Nevermind, I ended up fixing it by changing several things. For those that may run into a similar problem, here is the new revision...
Quote:
__________________
I am 89% addicted to Counterstrike. What about you? Upgrades of the future...*New GPU
|
||||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Extreme Cooler
|
Yeah. Gotta watch out for those double equal signs.
![]() Don't ask me why you need to do it that way. I never understood why.
__________________
95.567% of people make up the stats in their sig. If you are part of the 4.433% who uses real stats, put this in your sig.
Fold for the cause. Fold for team 37726! ![]() CPU-Z valid GPU-Z validBest CFM/noise ratio fan: Noctua NF-P12 Best air cooling budget case: Antec 300
|
|||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
Programmer
|
Because a single = is an assignment operator, not a comparison operator, parsers can't generally decide ambiguity (should this = be an assignment or a compare?) easily
![]()
__________________
"He attacked everything in life with a mix of extraordinary genius and naive incompetence, and it was often difficult to tell which was which." Douglas Adams
|
|||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||||
|
Programmer
|
PHP Code:
|
|||||||||||||
|
|
|
|
#6 (permalink) | |||||||||||
|
First Time Build
|
You could just add <?= not <?php its much easier.
|
|||||||||||
|
|
|
|
|
#7 (permalink) | |||||||||||||
|
Mmmm! Toast!
|
Quote:
Visual Basic was made by the devil. ![]()
__________________
Rocket 3 down-payment fund: [|||||||||] $6k e6750 @ 3.2 Ghz (400x8) - 7k ppd GPU+SMP
|
|||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||
|
Extreme Cooler
|
When did we start talking about Visual Basic?
__________________
95.567% of people make up the stats in their sig. If you are part of the 4.433% who uses real stats, put this in your sig.
Fold for the cause. Fold for team 37726! ![]() CPU-Z valid GPU-Z validBest CFM/noise ratio fan: Noctua NF-P12 Best air cooling budget case: Antec 300
|
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
Linux Lobbyist
|
I, personally, prefer to use the full notation. It just seems more specific. If you prefer typing less, you can always make an editor auto-complete it. Maybe it is just me.
__________________
Lattyware | Main (Sig) Rig: gBOX42 | Lan Rig: gLAN42 Never been convinced by Linux? Here is a challenge. | Using LVM Scratched Disc? | Guide To LAN Parties | Writing a GUI application in Python/Glade Etching an image into your case. | Wireless Access Points: Easy wireless networking. A Member Of The OCN Anime/Manga Club There are three types of software. Free as in speech (FOSS), Free as in beer (Freeware) and Free as in BitTorrent.
|
|||||||||||||
|
|
|
|
#10 (permalink) | |||||||||||||
|
Extreme Cooler
|
Yeah, I've always tried to avoid shorthand as well. Sometimes it can screw things up.
__________________
95.567% of people make up the stats in their sig. If you are part of the 4.433% who uses real stats, put this in your sig.
Fold for the cause. Fold for team 37726! ![]() CPU-Z valid GPU-Z validBest CFM/noise ratio fan: Noctua NF-P12 Best air cooling budget case: Antec 300
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|