WPF Layout - The StackPanel
Introduction
One of the more basic panels provided in WPF is the StackPanel. As you would expect, it stacks its child elements one after the other - by default stacking them vertically. You can however override this setting and change the Orientation to Horizontal. As with the WrapPanel, I think that in the majority of cases you will use this panel as part of a larger, more complex display.
To (more…)
Moving Beyond Simple Strings
Introduction
In the previous item on Listboxes I looked at some ways of tweaking a WPF ListBox which contained only strings. As the range of what can be included in a ListBox is far greater than simple strings, I want now to move on to more complex displays.
In WPF it is very easy to create listboxes that contain a variety of content types. For example you can list a collection of images one b (more…)
this is the code im using
//get all mail
$get_mail_sql = "SELECT email, type FROM email WHERE
master_id ‘".$_POST["sel_id"]."’";
$get_email_res = mysqli_query($mysqli, $get_email_sql)
or die(mysqli_error($mysqli));
if (mysqli_num_rows($get_email_res) > 0) {
$display_block .= "Email:
"; (more…)
I hope this is an acceptable place to put this, I am new to the forum. I just wanted to share with the community that after much tortured php coding in editors that can’t help with php at all I am SO excited to have found a great full featured IDE that is really helpful with the mySQL backend, and I figure others will be interested as well.
It is called phpED, here is the address describing it:
http://www.nusphere.com/products/php_ide_major_features.htm
and it is actually one of the best IDE’s I have tried, for any
language, no kidding. It is intuitive, doesn’t get in your way, can (more…)
You can use \G instead of ; for tables with lots of fields.
mysql> SHOW STATUS LIKE ‘Qcache%’;
+————————-+———–+
| Variable_name | Value |
+————————-+———–+
| Qcache_queries_in_cache | 6990 |
| Qcache_inserts | 6990 |
| Qcache_hits | 3987 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 621 |
| Qcache_free_memory | 176329432 |
| Qcache_free_blocks | 1 (more…)