rpgmaker's Profile
Reputation: 2
Apprentice
- Group:
- Active Members
- Active Posts:
- 219 (0.37 per day)
- Joined:
- 02-October 11
- Profile Views:
- 1,447
- Last Active:
May 20 2013 05:00 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
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 -
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 -
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. -
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 -
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
|
|


Find Topics
Find Posts
View Reputation Given

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