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
~1K People Reached
Favorite Tags
php x 23
perl x 2
Member Avatar for sammoray

this problem is too old with me please try to help I made online users table in db and when user is logging in . the code is [COLOR="Red"]$sql="insert into online_users(username) values('".$_SEESION['username']."')"; mysql_query($sql);[/COLOR] but I couldn't specify the users who went offline to delete them from the table please help …

Member Avatar for phpuser
0
81
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
52
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
104
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
88
Member Avatar for Nameste

right, well i'm just recently learning php. i've installed WAMP and it seems to be working for all i know, but when i go onto the localhost or whatever and click onto my saved file in my project folder it always tells me that i have to download it. i …

Member Avatar for nav33n
0
69
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
119
Member Avatar for AliHurworth

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. However I'm getting errors on the second table [icode]mysql_num_rows(): supplied argument is not a valid MySQL result resource [/icode] and [icode]mysql_fetch_array(): supplied argument is not a valid …

Member Avatar for R0bb0b
0
132
Member Avatar for soosai

hi there is anything wrong with the code down here....? <? @mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db("upit"); $sql="INSERT INTO students VALUES('$nama','$ic','$fakulti','$emel')"; $result=mysql_query($sql); if ($result) echo"Insert record Successfully"; else echo "Problem inserting data"; ?>

Member Avatar for nav33n
0
85
Member Avatar for stevegoodmedia

Hi i i have a form that is processed by the following php script - the form and script work fine (i got it off about.com works very well!!) but the client does not like the way the email arrives and wants some formatting could anyone tell me how i …

Member Avatar for isomillennium
0
80
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
95
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
99
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
82
Member Avatar for Suhacini

Hi, Can anyone help me in writing a script for polls or voting.There are many scripts available,download them and use,but I wanted to write my own script.I have a question and 4 optins for that.I wanted to display the results in percentile and a color bar.Do I need to use …

Member Avatar for nav33n
0
155
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
112
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
141