17 entries for "
ord" as
partial match | search took 0.089 seconds
string handling | number to words | 15 matches
line 2: number to words conversion....
line 8: $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven",...
line 15: function int_to_words($x)...
line 17: global $nwords;...
line 34: $w .= $nwords[$x];...
line 37: $w .= $nwords[10 * floor($x/10)];...
line 41: $w .= '-'. $nwords[$r];...
line 45: $w .= $nwords[floor($x/100)] .' hundred';...
line 49: $w .= ' and '. int_to_words($r);...
line 53: $w .= int_to_words(floor($x/1000)) .' thousand';...
line 62: $w .= int_to_words($r);...
line 65: $w .= int_to_words(floor($x/1000000)) .' million';...
line 72: $word .= 'and ';...
line 74: $w .= int_to_words($r);...
line 86: the number reads '.int_to_words($_POST['num']).'<p>...
databases | mySQL to excel | 10 matches
line 2: database table dump to WORD document possible also....
line 11: $DB_Password = ""; //your MySQL Password...
line 23: //Optional: print out title to top of Excel or Word file with Timestamp...
line 39: $Connect = @mysql_connect($DB_Server, $DB_Username, $DB_Password)...
line 48: //if this parameter is included ($w=1), file returned will be in word format ('.doc')...
line 52: $file_type = "msword";...
line 64: /* Start of Formatting for Word or Excel */...
line 68: /* FORMATTING FOR WORD DOCUMENTS ('.doc') */...
line 74: //define separator (defines columns in excel & tabs in word)...
line 111: //define separator (defines columns in excel & tabs in word)...
string handling | substring examples | 5 matches
line 11: <input type="text" name="word">...
line 15: if(!empty($_POST['word']))...
line 17: $str = $_POST['word'];...
line 21: $char['words'] = explode(' ',$str);...
line 23: $char['word_count'] = count($char['words']);...
string handling | summarize article | 5 matches
line 1: this function takes the first x words or paragraphs from a long text and displays it as teaser with a "read more" link underneath....
line 13: $words++;...
line 14: if(($words >= $limit) && ((substr($tok, -1) == "!")||(substr($tok, -1) == ".")))...
line 24: Starting at the beginning of the paragraph it gets as many complete sentences as are necessary to contain $limit words....
line 26: (the first 20 words plus the rest of the sentence in which the limit was hit)';...
sessions and co | basic authorization | 5 matches
line 10: // the desired username / password...
line 12: $password = 'tester';...
line 23: // if user or password is wrong...
line 24: if(($_SERVER['PHP_AUTH_USER'] != $user) || ($_SERVER['PHP_AUTH_PW'] != $password))...
line 32: // if user and password match...
databases | mySQL class | 4 matches
line 11: function DB_Class($dbname, $username, $password)...
line 13: $this->db = mysql_connect ('localhost', $username, $password)...
line 54: $dbconnect = new DB_Class('table', 'user', 'password');...
string handling | string compare | 3 matches
line 1: snippet to check username / password against a text file...
line 9: // username|password...
line 23: $pass_check = strpos($parts[1],$_POST['password']);...
string handling | string to columns | 3 matches
line 16: $seperators = array(' ' => 'words', '. ' => 'sentences', '<p>' => 'paragraphs');...
line 32: $nextword = substr($nextstring,0,($nextpos+strlen($seperator)));...
line 34: $string = $string.$nextword;...
file handling | read and select csv | 2 matches
line 40: // this willl display all records in the csv file...
line 58: // this willl display all records where the value...
html and code | html head | 2 matches
line 7: function make_head($title,$description,$keywords,$author,$lang,$css_path,$favicon_path)...
line 15: <meta name=\"keywords\" content=\"".$keywords."\">...
html and code | meta tags | 2 matches
line 5: <meta name="keywords" content="">...
line 6: <meta name="htdig-keywords" content="">...
image editing | crop image | 1 match
line 60: border: 1px solid #fff;">...
html and code | simple php code highlight | 1 match
line 9: <table style="border: 0; spacing: 0; margin: 0; width: 600px;" >...
html and code | alternate row colors | 1 match
line 19: <table style="caption-side:top; border-collapse:collapse">...
html and code | html entities | 1 match
line 8: <table style="width: 400px; font-family: Verdana, sans-serif; font-size: 10px; border: 1px solid #606060; border-collapse: collapse;">...
information | domaincheck | 1 match
line 12: <table border="0" cellpadding="0" cellspacing="5" align="center">...
string handling | extract string from offsite | 1 match
line 2: just specify words in the remote source to start and end the output...
© 2008
phparadise |
go to the top29 hits by 9 users in the last 30 minutes.