Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~2K People Reached
Favorite Tags

15 Posted Topics

Member Avatar for sammoray

i guess if you use the date function to show/insert the date in YYYYMMDDHHMM format with the username .. then subtract the current time again in YYYYMMDDHHMM format from the login date and if the answer is more than 5 mins or whatever you want the users go offline after …

Member Avatar for phpuser
0
84
Member Avatar for isomillennium

Hi all , just learned the basics of perl thru a website. and i was just wondering what the perl equivalent of php code .... for($i = 0; $i < 10; $i++) { $myarray[] = $i; } would be. Any help appreciated thank you ..

Member Avatar for isomillennium
0
55
Member Avatar for isomillennium

Hi All, im having difficulty trying to match lets say a string that is between 1 to 3 chars long and are all capitals.. i tried .{1,3}[A-Z] but it didnt work.. for ex.. "blah blahBLAh" .. what would be the reg ex code to match the BLA in the middle …

Member Avatar for MVied
0
108
Member Avatar for isomillennium

Is there a way to allow the php tags with the strip_tags() function ? i've tried strip_tags($text, '<?>') and strip_tags($text, '<? ?>') but it doesnt work .. any help would be appreciated thanx ..

Member Avatar for isomillennium
0
92
Member Avatar for Nameste

sounds like php is not installed correctly in apache conf .. i think the easiest way to get apache mysql and php to work is to use XAMPP from apache friends .. thats what i use anyway .. if you need help installing the xampp just let me know

Member Avatar for nav33n
0
72
Member Avatar for isomillennium

is there a way to tell the occurence postition of the regex given ?? for example .. $text = 'PHP Hypertext Preprocessor'; if (preg_match('xt', $text)){ echo 'Found Match'; } Like in that example occurence position is 11.. I already know about the strpos() .. but that doesnt accept regex .. …

Member Avatar for nav33n
0
131
Member Avatar for AliHurworth
Member Avatar for soosai

if ($result) echo"Insert record Successfully"; else echo "Problem inserting data"; you have no braces included with if ... try this if ($result) { echo"Insert record Successfully"; } else { echo "Problem inserting data"; }

Member Avatar for nav33n
0
87
Member Avatar for stevegoodmedia
Member Avatar for isomillennium
0
86
Member Avatar for isomillennium

echo removes white spaces from the text and stored text shows up w/o line breaks .. How can i correct this ? When i view my db tables and contents in it using phpmyadmin, the text stored in them look normal .. the way i typed it .. but when …

Member Avatar for isomillennium
0
96
Member Avatar for isomillennium

is there any way to get a form name from a page that the post or get variables sent from ? for example : $_POST['name'] , $_POST['password'] .. What would it be if you wanted the form name to be sent ?

Member Avatar for sDJh
0
104
Member Avatar for isomillennium

Just started practicing classes and boom my first try cant get it to work ... maybe im not seeing something ... can someone look and point out the thing that i might have misssed .. ?any help would be appreciated .. thanx here's the code : index.php <? include "page.class.php"; …

Member Avatar for nav33n
0
89
Member Avatar for Suhacini

this script is from someone else which i have found useful and used it in one of my Processing Votes This code should be placed below the database connection, but above the rest of the script. //We only run this code if the user has just clicked a voting link …

Member Avatar for nav33n
0
161
Member Avatar for isomillennium

What would be the php mysql code to search more than 1 field in a table ? Im trying to search for a given partial phone number in all three fields home mobile and work .. im trying to use $query = "SELECT `first`, `last`, `home_phone` , `work_phone` , `mobile_phone` …

Member Avatar for nav33n
0
114
Member Avatar for isomillennium

Hey my name's izzy and i have been around the web designing game for a while and i was trying to figure out how we can get the explode function to support javascript in a web page when splitting .. here's the code : <? function snp($str_to_look_for, $str_to_stop_at, $html) { …

Member Avatar for nav33n
0
146

The End.