rpgmaker's Profile User Rating: -----

Reputation: 2 Apprentice
Group:
Active Members
Active Posts:
219 (0.37 per day)
Joined:
02-October 11
Profile Views:
1,447
Last Active:
User is offline May 20 2013 05:00 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   rpgmaker has not set their status

Posts I've Made

  1. In Topic: Array not printing

    Posted 19 May 2013

    Thanks all. I did do
    echo $_POST['pkg']; 
    

    but showed nothing.
    But after i used
    $pkg = $_POST['pkg'];
    echo $pkg['1'];    // or $pkg[1]
    

    all worked fine. Thanks
  2. In Topic: storing earnings inside php my admin

    Posted 19 May 2013

    well im doing a simple mysql update like so
      $fdfsdfdsfsdf = mysql_query("UPDATE users SET available_earning=available_earning+0.0001 WHERE id  = '".$owner2."'")
    or die(mysql_error());
    


    and when there money reaches 0.9999 it will not go over to 1.0000
  3. In Topic: Checking if a url is inside a variable.

    Posted 12 May 2013

    Thank you so much works like a dream. A big thank you.
  4. In Topic: Checking if a url is inside a variable.

    Posted 12 May 2013

    So
    /\.(com|net|co.uk|www.|http)/
    
    
    

    Would work has well ? Look much easier to understand like that
  5. In Topic: Checking if a url is inside a variable.

    Posted 12 May 2013

    Ok so i have just looked preg_math and think i get what you mean about the

    /\.net/


    Is this ok ? I am hoping this is right...

    $line = "myurl.com  myurl.net";
    if (preg_match("/\.net/\.com/\.co.uk/", $line, $match)) :
      print "Match found!";
    endif;
    

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

Comments

rpgmaker has no profile comments yet. Why not say hello?