Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 287 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

give me a challange

Thread title: give me a challange
Reply    
    Thread tools Search this thread Display Modes  
06-01-2012, 01:30 PM
#1
stephan2307 is offline stephan2307
Status: I'm new around here
Join date: Jun 2012
Location: UK
Expertise: php, mysql, js, jquery
Software: PHPDesigner, Chrome
 
Posts: 10
iTrader: 0 / 0%
 

stephan2307 is on a distinguished road

  Old  give me a challange

I wouldn't say that I am amazingly good with php but still can do a lot with it.

The best way I learn is to get to a problem and then solve it.

I wanna lean something new so if you have anything in mind that is pretty tricky to do in php/mysql please let me know

Reply With Quote
06-01-2012, 01:36 PM
#2
Village Genius is offline Village Genius
Village Genius's Avatar
Status: Geek
Join date: Apr 2006
Location: Denver, CO
Expertise: Software
Software: Chrome, Notepad++
 
Posts: 6,894
iTrader: 18 / 100%
 

Village Genius will become famous soon enough

  Old

Find the sum of all natural numbers under 1,000 that are divisible by 3 or 5.

If you like problems like that you may find interesting.

As far as stuff that involved PHP and MySQL I'm not sure, most of that stuff stays pretty easy. If you can get your hands on some enormous database perhaps you could improve your MySQL skills by returning very specific subsets of data from it.

06-01-2012, 01:45 PM
#3
stephan2307 is offline stephan2307
Status: I'm new around here
Join date: Jun 2012
Location: UK
Expertise: php, mysql, js, jquery
Software: PHPDesigner, Chrome
 
Posts: 10
iTrader: 0 / 0%
 

stephan2307 is on a distinguished road

  Old

thanks. first one is not really of a challenge. Result is 233168

PHP Code:
$tot 0;
    
    for (
$i=0$i<1000$i++) {
        
        if (
$i%3==|| $i%5==0) {
            
$tot +=$i;
        }
        
    }
    
    echo 
$tot
signed up to the site. looking good :P

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed