yozyk
Members-
Posts
49 -
Joined
-
Last visited
Everything posted by yozyk
-
@crazyyoda, var_dump($option); gives you some information about the object.
-
http://php.net/manual/en/function.uniqid.php Is it what you are looking for?
-
Learning other programming languages helps you understand PHP better.
-
Where do you get this code? Drupal has api for url processing.
-
You want to check remote url?
-
You cannot strore database connection in session variables. All database conections will be closed after your php script has been executed.
-
Probably, your page has redirect. Try exit('Some text'); .
-
1. Use commas for html attributes. 2. You may do it by CSS (without javascript). a:hover{background-image: url(bar/column1.gif)}
-
Try this: <a href="" onclick="return false">link text</a>
-
Class is keyword. Rename parameters of your functions.
-
Can you show your code?
-
You need to use javascipt .
-
var length = document.getElementById('divId').innerHTML.length
-
sort($ids, SORT_NUMERIC); for($i = 0, $j = 1, $cnt = count($ids); $i < $cnt; $j = (++$i+1)%15) $newIds[$ids[$i]] = ceil(($i+1)/15).', '.($j?$j:15); echo '<pre>',print_r($newIds, 1),'</pre>';
-
echo '<table border=1>'; $handle = fopen("file.csv", "r"); while (($r = fgetcsv($handle, 1000, ';')) !== FALSE) echo '<tr><td>',$r[0],'</td><td>',$r[1],'</td><td>',$r[2],'</td><td>',$r[7],'</td></tr>'; fclose($handle); echo '</table>';
-
What kind of sort is «data»? Is it html pages, images or other? Do you want count each byte of you data? Probably you need track number of downloaded files.
-
Just make it.
-
The firebag can show the result, but not save. Where do you want store page size?
-
firebug -> net tab If output control functions has been used you can get size of output buffer by strlen
-
function check_gm(){ if(document.getElementById('offerframe')!=_0x4b77[3]); setTimeout(_0x4b77[6],1000); }; But _0x4b77[3] and _0x4b77[6] isn't defined in your code snippet.
-
Problem with Textarea, shows encoded htmls in decoded form
yozyk replied to wmac's topic in PHP Coding Help
But inside the textarea only CDATA can be used. -
Problem with Textarea, shows encoded htmls in decoded form
yozyk replied to wmac's topic in PHP Coding Help
If you want block with scroling use div and css overfow: scroll -
Problem with Textarea, shows encoded htmls in decoded form
yozyk replied to wmac's topic in PHP Coding Help
Textarea is similar to the input tag. Inside the textarea there should be no other tags... -
I am not sure that I understood you about «days where you skip them» for($i = 1, $st = 0; $i <= 28; $i++, $st = (int)!$st) { if(date('w', strtotime($i." February 2010")) > 5) $i += 2; $m[$i] = $st; } echo '<pre>',print_r($m, 1),'</pre>';
-
setTimeout(arguments.callee, 10) You don't pass element id to Change function in this line.