No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- PC Specs
- MacBook Pro/Mac Pro OS X
6 Posted Topics
Re: AFAIK - you can't set the session variable from Javascript. You'll need to either submit the form and set it in your PHP processing code or create an AJAX script that will call a PHP file and update the session variable. | |
Re: This simply means you have the function ValidateEmail in two different places (function/functions.php and includes/functions.php). Easy to solve: if the function is the same in both files, then remove it from one of the files. If they are different, then rename one of the functions to remove the conflict. | |
Re: Try removing everything in the while loop and use: [code] $c = implode(',',$code); [/code] and see if that works. Implode looks to take an array and returns a string of the array's values separated by the delimiter you provide. By looping through the code array the way you are, $val … | |
Ok - I've got an easy one for you all on this Friday. I know the answer is staring me in the face, but I can't seem to figure it out. The problem is that the following function does not return a value for me. However, if I insert a … | |
Re: Sounds like you'll need to either add a limit to the query: [code]$query="SELECT * FROM Position ORDER BY Latitude ASC LIMIT 4,1";[/code] This will return 1 row, starting with the 4th result returned. Or, use a while loop as mentioned above and count the results: [CODE] $i=0; while($row = mysql_fetch_row($result)) … | |
Firstly - I'm a complete noob when it comes to Python. I'm currently trying to launch an external program called Dazzle from Python with a the path to an xml file as a parameter. I've tried a few different options and can get Dazzle to launch - but the xml … |
The End.