dreamwest
Members-
Posts
1,223 -
Joined
-
Last visited
Never
Everything posted by dreamwest
-
I use http://www.pixlr.com/editor/ for all my logos mainly because of layers and free distort
-
Im building a custom lightbox which overlays he entire screen. Is it important to use both visibility:hidden; and display:none; ?? Im currently only using display:none; and seems to work in all browsers even in IE6 with all its "unexpected features" Heres is what ive done: <style> .wiz_slide{ background:#000; position:relative;height:100%;width:100%;left:0px;top:0px;display:none;position:absolute;z-index:999;position:fixed;color:#333;overflow:auto; } .wiz_slide.html{ height:100%;overflow:auto; } .wiz_slide_lg{ width:900px;position:relative;background:#000;overflow:auto; } </style> <script> function slider(id){ document.getElementById('wiz_slide').style.display = "block"; document.getElementById('wiz_slide_img').innerHTML = "<img src='/tmb/full/pic.jpg' width='894px' height='520px' />"; } </script> <span id='slide' style='cursor:pointer;' onclick='slider("wiz_slide"); '>Click to enlarge</span> <div id='wiz_slide' align='center' class='wiz_slide'> <div id="wiz_slide_lg" align='center' class='wiz_slide_lg'> <span id="wiz_slide_lg_img"></span> </div> </div>
-
SELECT * FROM Events WHERE eventid='$eventid' LIMIT 1
-
Attachments http://www.wizecho.com/nav=php&s=email
-
Remove the braces {} SELECT * from test_user_data WHERE MATCH streng AGAINST('+dell +6000 +inspiron' IN BOOLEAN MODE) ORDER BY streng LIMIT 5
-
So you need both words? Just add a "+". You can find all the options here http://www.wizecho.com/nav=php&s=php_mysql_boolean foreach(explode(' ',$title) as $word) $q .= "+{$word}* "; $sql_res = mysql_query("SELECT * from test_user_data WHERE MATCH streng AGAINST('{$q}' IN BOOLEAN MODE) ORDER BY streng LIMIT 5");
-
foreach(explode(' ',$title) as $word) $q .= "{$word}* "; $sql_res = mysql_query("SELECT * from test_user_data WHERE MATCH streng AGAINST('{$q}' IN BOOLEAN MODE) ORDER BY streng LIMIT 5"); http://www.wizecho.com/nav=php&s=php_mysql_boolean
-
echo htmlspecialchars("this is & that");
-
Im trying to position a box in the center of the screen like lightbox does <div style="position:absolute;top:100px;left:140px;width:450px;height:400px;z-index:999;position:fixed;"> This is in the center of the screen</div>
-
What does something like this mean: font-family:"lucida grande",tahoma,verdana,arial,sans-serif; Im assuming if the browser doent support lucida grande itll use one of the following styles.
-
Can someone suggest a free or cheap VFX (Video FX) software for windows.
-
# instruct browser to download multimedia files AddType application/octet-stream .avi AddType application/octet-stream .mpg AddType application/octet-stream .wmv AddType application/octet-stream .mp4 AddType application/octet-stream .mov AddType application/octet-stream .3gp AddType application/octet-stream .zip
-
Im trying to get an innerhtml value to increment by 1 <script> function up(){ document.getElementById("cnt").innerHTML = document.getElementById('cnt') + 1; } </script> <span id='cnt'>0</span> <span style='cursor:pointer;' onclick='up(); '>Go up</span>
-
RewriteRule ^$(.*) userprofile.php?username=$1 [L,QSA]
-
Even if you have the money to buy books, the library is the best place to go because it will have lots of hidden treasures in the same section - and its free
-
I got a toshiba satellite of ebay for $499, it has 6GB ram , Intel celeron 2.4Ghz processor and 250GB drive - a shite load better than my old desktop ..I sleep with my laptop, it sits in a little nook on the corner of my bed, when i wake up i just open it up without getting up - its a great way to start the day
-
How to get PHP Mail() to work more reliably.
dreamwest replied to optikalefx's topic in PHP Coding Help
Its most likely the class. But doing it yourself is easier than you think. http://www.wizecho.com/nav=php&s=email -
Why does krsort return the array as "1"? $m = array('34' => 1122, '6' => 1944, '9' => 1710); print_r($m); //outputs: Array ( [34] => 1122 [6] => 1944 [9] => 1710 ) print_r(krsort($m)); //outputs: 1 What i need is the output to be Array ( [6] => 1944 [9] => 1710 [34] => 1122)
-
as far as i know mysql cant search for corpus pairs, so is used only to retrieve pointers in the inverted doc. so a paired set like {21,4|45,5|78,9} means word "funny" appears in doc 4 at position 21 etc.. Ive read you can also use skipping to make the retrieval faster ..but for now im experimenting all methods
-
Im trying to create a Sparse index where pairs of numbers point to locations in a document. How would you store this data?
-
generate a screen grab and send as pdf???
dreamwest replied to isimpledesign's topic in Miscellaneous
TCPDF -
PHP MYSQL update query not updating fields
dreamwest replied to Applellial's topic in PHP Coding Help
Try this and see if you get an error. Also update dosnt have an WHERE clause to update, itll update the entire table <?php if(!$con = mysql_connect("localhost","dbname","dbpassword")){ die('Could not connect: ' . mysql_error()); }else{ echo 'Connected successfully'; } @mysql_select_db("my_db", $con); mysql_query("UPDATE `msm_content` SET `created` = '2011-01-02 00:00:00', `modified` = '2011-01-01 00:00:00' ")or die(mysql_error()); echo 'Query Updated successfully'; mysql_close($con); ?>