Sign Up
Log In
F
Floodboy
Sep 22, 2003
Joined Feb 26, 2003
Discussions
Posts
73
Discussions
15
Mentions
F
Mysql select
PHP Help
PHP Coding
I have a menu: #, a, b, c, d.... and a query SELECT DISTINCT name FROM table WHERE name LIKE 'letter%' I need that if a user select the # sign the msql query select all the na...
3
F
Display spaces in a string
PHP Help
PHP Coding
Hi I just want to know how can I display more than 2 spaces in a string. IF i have a string like $str="(10 spaces)hello"; and If print this string it only returns the string w...
18
F
[Resolved] pointers in php ?
PHP Help
PHP Coding
I just want to know what's the meaning of that & in this function: (&$array) function my_array_shift(&$array){ reset($array); $temp = each($array); unset($array[$temp['key']])...
2
F
Wordfilter preg_replace or str_replace ??
PHP Help
PHP Coding
I don't know what to use What do you guys think is the best ?? $input = preg_replace("/\b$correct\b/", asteriscos($correct), strtolower($input)); or $input = str_replace($corr...
1
F
instead of imagecreatetruecolor ?
PHP Help
PHP Coding
Hi all I'm using imagecreatetruecolor to generate a thumbnail but my host has GD 1.x and imagecreatetruecolor needs GD 2 what can I use instead of imagecreatetruecolor ??? $tm...
4
F
strange error
PHP Help
PHP Coding
I just update php and I was working with php 4.3.0 and everything was ok but sice I updated php to 4.3.2 I get this error: Parse error: parse error, unexpected T_ENCAPSED_AND_...
5
F
ORDER BY second option ?
PHP Help
PHP Coding
Hi I'm just wondering how to "order by" a second option if I order by "this, that " only return "this" ordered but if there are 2 elements with the same value inside "this" th...
6
F
$_POST / Register globbals off
PHP Help
PHP Coding
Hi all, I have a little issue here, in my pc server I have Register globals off so everything that I code Y use $POST, $GET etc etc But $_POST doesn't work in my website serve...
1
F
Save resized image ???
PHP Help
PHP Coding
I did this piece of code to create a thumbnail, but now I want to know how do I save the generated image ($image) in to a folder ??? <?php $imagen="screenshot.jpg"; if(is_file...
2
F
highlight search results ?
PHP Help
PHP Coding
Hi all I'm just wondering How can I highlight a search results for example... I have in my search form a text field so If I write "li" my search return "limp Bizkit, linkin pa...
5
F
wordwrap problem
PHP Help
PHP Coding
I have this $POST['message'] = wordwrap($POST['message'], 10, " ", 1); But how can I ignore text inside html tags ? like <img scr=smopath/someimage.jpg>
1
F
Avoid diplay a Mysql query twice ?
PHP Help
PHP Coding
OK i have a search field so, if someone search for "green day" the result will be, "green", "green day", "green tree" but because the serch contains 2 elements, in this case "...
1
F
Removing empty items from an array ?
PHP Help
PHP Coding
I just can't figure out how to do this, I was trying to do this but didn't work function remove($myarray){ if (in_array(" ", $myarray)){ foreach($myarray as $show){ if(($show ...
5
F
How to set cookies time ?
PHP Help
PHP Coding
Well, I know how to set cookies time, actually my question is how to set a cookie for days not only seconds or hours setcookie("name", "value", time()+3600); this cookie will ...
4
F
How to delete a row from a flat db ?
PHP Help
PHP Coding
I guys I'm wondering how to delete a row from a txt file, what I was trying is something like this: <?php $file="test.txt"; $lines=file($file); unset($lines[4]); //delete line...
3
Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.