Forum: PHP Oct 23rd, 2009 |
| Replies: 4 Views: 259 There are plenty of references on calculating the distance between two coordinates, but since you're only interested in an approximate 5 mile radius, you could just use the Pythagorean theorem and... |
Forum: PHP Oct 18th, 2009 |
| Replies: 13 Views: 799 Please do not ask for help via email. Read the forum rules about Keeping it on the Site (http://www.daniweb.com/forums/faq.php?faq=daniweb_policies#faq_keep_it_on_the_site). |
Forum: PHP Oct 9th, 2009 |
| Replies: 6 Views: 781 I would rather ask what was the need for this post of yours? You dragged up a two year old thread to ask that it be marked solved?
You've done this recently on several threads that you did not... |
Forum: PHP Oct 5th, 2009 |
| Replies: 7 Views: 372 As a general rule, threads are not deleted upon request. Once it's posted, it's out there for good. |
Forum: PHP Oct 4th, 2009 |
| Replies: 2 Views: 368 You have an outline, so start coding. If you get stuck, post your code and specific questions. |
Forum: PHP Sep 18th, 2009 |
| Replies: 6 Views: 518 Alright, let's just keep it at "dating site" before this exceeds the bounds. Any other specifics are not necessary to the discussion.
I have not yet reviewed the example link that you posted above... |
Forum: PHP Jun 15th, 2009 |
| Replies: 4 Views: 383 You can use as many ANDs and ORs as you like, with as many parenthesis as you like to create as many logical sub-groupings as you like:a AND b AND (c OR (d AND e) OR (f AND g)) ... but be aware that... |
Forum: PHP Jun 8th, 2009 |
| Replies: 13 Views: 714 For a quick all-in-one installation, I'd recommend WampServer (http://www.wampserver.com/en/) or XAMPP (http://www.apachefriends.org/en/xampp.html). |
Forum: PHP Jun 5th, 2009 |
| Replies: 19 Views: 577 Look for other unmatched double quotes :)
Those were the only two in the fragment you posted, but there may be others. |
Forum: PHP Jun 5th, 2009 |
| Replies: 19 Views: 577 Looks to me like an extra " at the end of lines 12 and 13. |
Forum: PHP May 27th, 2009 |
| Replies: 3 Views: 281 There is a link at the bottom of the thread to "Mark as Solved". I've marked this one for you :) |
Forum: PHP May 27th, 2009 |
| Replies: 11 Views: 1,330 |
Forum: PHP May 20th, 2009 |
| Replies: 4 Views: 490 Ok, my apologies, I tried to merge these two threads and it came out a bit of a mess. Hopefully something relevant can still be salvaged. |
Forum: PHP May 20th, 2009 |
| Replies: 7 Views: 278 Your original version was evaluating(not a) equal to (b)when you wanted (a) not equal to (b) |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 486 You would want the clause to be m=$todaysMonth AND d=$todaysDay AND y=$todaysYear |
Forum: PHP May 20th, 2009 |
| Replies: 13 Views: 486 Why not set the parameters of your query to only pull records where m=$todaysMonth and d=$todaysDay and y=$todaysYear? |
Forum: PHP May 18th, 2009 |
| Replies: 7 Views: 358 MySpace and Facebook are also options if you're just wanting a place to post up family pics and such. |
Forum: PHP May 18th, 2009 |
| Replies: 7 Views: 358 Many ISPs offer a small amount of web space for a personal page with your account. I would check with your service provider first. |
Forum: PHP May 16th, 2009 |
| Replies: 3 Views: 281 Well, I don't see how you expect anyone to help you when you did not post a question. |
Forum: PHP May 7th, 2009 |
| Replies: 4 Views: 352 Moved to it's own thread. |
Forum: PHP May 4th, 2009 |
| Replies: 8 Views: 4,496 Did you read any of the posts above? Did you understand them? If not, what didn't you understand? You need to learn how to ask questions. |
Forum: PHP Apr 24th, 2009 |
| Replies: 2 Views: 309 Try this insteadfunction checkValues($postValues)
{
$valid = true;
foreach($postValues as $key => $value)
{
if(!isset($key) || $value == "")
... |
Forum: PHP Apr 19th, 2009 |
| Replies: 14 Views: 15,102 localhost/aldo/index.php should suffice. |
Forum: PHP Apr 17th, 2009 |
| Replies: 8 Views: 617 You only posted portions of the code, but it looked like you had two loops running through the result set where you only need one. It doesn't matter which one of them you remove really - just don't... |
Forum: PHP Apr 15th, 2009 |
| Replies: 27 Views: 1,111 I agree. The tool does not make you good at using it. However, IDE's and editors that provide functionality such as syntax highlighting, etc. are a net positive in productivity for development,... |
Forum: PHP Apr 15th, 2009 |
| Replies: 27 Views: 1,111 And by your analogy, you're using a rock, but that is certainly your choice. |
Forum: PHP Apr 15th, 2009 |
| Replies: 27 Views: 1,111 Yes, any text editor works for editing code. That is not the same thing as being a good tool for development. |
Forum: PHP Apr 15th, 2009 |
| Replies: 27 Views: 1,111 Yes, Notepad bad...
Notepad++ (http://notepad-plus.sourceforge.net/) good :) |
Forum: PHP Apr 14th, 2009 |
| Replies: 27 Views: 1,111 Netbeans does support PHP now and it does have a visual designer, but I have not used it for PHP and can't speak to it's strengths/limitations. |
Forum: PHP Apr 14th, 2009 |
| Replies: 2 Views: 642 Why not mark it solved yourself? The link is right there at the bottom of the thread :) |
Forum: PHP Apr 13th, 2009 |
| Replies: 40 Views: 1,927 It's ok. I'll clean out the first two. I didn't want to delete them if there actually was a slight edit in the code that you intended. |
Forum: PHP Apr 13th, 2009 |
| Replies: 40 Views: 1,927 Is there any difference in those or did you post three copies of the exact same thing? |
Forum: PHP Apr 13th, 2009 |
| Replies: 3 Views: 407 I believe he wants to redisplay the values that the user entered if the form fails validation and needs to be edited and resubmitted. |
Forum: PHP Apr 10th, 2009 |
| Replies: 8 Views: 617 You have this second loop on $i around the whole thingwhile ($i < $num) { |
Forum: PHP Apr 9th, 2009 |
| Replies: 8 Views: 617 I'll leave you to fit the rest of your code in, but here is the alternating row color part <?php
for ($j=0; $j<10; $j++){
$bg_color= $j % 2 ? "#EEEEEE":"#E0E0E0";
?>
... |
Forum: PHP Apr 9th, 2009 |
| Replies: 8 Views: 617 This loop is only executing the single line after it for one thingfor ($j = 0; $j < mysql_num_rows($result); $j++)
$i=0;There are no braces for the larger block. |
Forum: PHP Apr 5th, 2009 |
| Replies: 19 Views: 2,356 Ok. I don't see any significant difference here from this thread: http://www.daniweb.com/forums/thread185073.html so I'm going to shut this one down. I think there are too many replies in both... |
Forum: PHP Apr 3rd, 2009 |
| Replies: 4 Views: 751 Moved to it's own thread. |
Forum: PHP Mar 20th, 2009 |
| Replies: 6 Views: 548 If it's simple, why can't you write it? And if you can't write it, what makes you think you can edit it? |
Forum: PHP Nov 12th, 2008 |
| Replies: 9 Views: 1,017 Why would you wait for more instead of checking out the references you've already been given? Have you tried searching any out on your own? Waiting for others to hand you information is not a habit... |