Hi All, I have a problem with my web page. I'm floating some content to the left so the image below can move up to the right. The content and image are contained in a div with a height set to 100%. When I remove the height or decrease it, the image moves down the page to where it began. Either way, the gap where the image started never decreases. I'm aiming for it to just go away so that the content reachers the footer. This occurs more noticably in the smaller width view using the media query. I assume …

Member Avatar
Member Avatar
+0 forum 3

Hi, I'm having some issues trying to figure out the way to find the percentage of parents with children inside my database. There is a table where all the parents are stored called XY and there is a table where all the children are listed called table Children. How would I write a statement that finds the percentage of parents with children.

Member Avatar
Member Avatar
+0 forum 3

I have a MySQL database with a table that has a field/column labled "user8" (which is the field for users' state). I have this PHP call and its working fine if I call all states individually and I only want numbers of rows. <?PHP mysql_select_db("freeskat_promail") or die(mysql_error()); $result = mysql_query("SELECT * FROM `users` WHERE `user8` LIKE '%Georgia%' "); $num_rows = mysql_num_rows($result); echo $num_rows - Georgia\n; ?> I would like the MySQL call and the PHP to echo out the lists of all states by percentage. i.e. United States 50% Candana 30% etc. This is what I have so far. <?PHP …

Member Avatar
Member Avatar
+0 forum 4

Hello All! I have a MySQL database with 4 items, id (numerical), group_name, employees, and surveys. I need to in my select calulate the percentage of 'employees' who my the number in 'surveys' have taken the survey. This is the statement I have now: SELECT group_name, employees, surveys, COUNT( surveys ) AS percentage, ((COUNT( * ) / ( SELECT COUNT( * ) FROM db_test)) * 100 ) AS percentage FROM db_test ORDER BY surveys

Member Avatar
Member Avatar
+0 forum 1

How do I put the following output in a table format as shown below in the code?

Member Avatar
Member Avatar
+0 forum 2

I have created a form in Adobe Acrobat Pro 9 where I have assigned values to checkboxes. I have managed to sum the total of the checkboxes, which is displayed ina separate textbox, but now I need to calculate the percentage of that against the total. CAn anyone help?

Member Avatar
Member Avatar
+0 forum 1

I am having a bit of rouble trying to sort this out. Basically im creating a header for my website and I want the text to be a certain size when the page loads. If the current window is resized I want the text to change also. I cannot seem to do this. Can anyone help?

Member Avatar
Member Avatar
+0 forum 2

I have a datagridview (unbound) that i want to calculate percentages based in a total. I already done the total (in a label.text). So what i want for the second column is to find out the percentage for each quantity that varies every time i enter a new quantity value. (This is my datagrid view) qty %_OF_Content 10 8.130 20 16.260 30 24.390 50 40.65 13 10.569 Total: 123 Please i honestly need help. Thsnk in advance:sad:

Member Avatar
+0 forum 0

Hi, How can I setBounds of a component in percentage of screen size so that the interface looks same on different resolutions. I am using Visual Studio 2008. When I click on a button in designer view it shows me button's properties on right side. There I can set Location (x and y) of the button. But it allows me to enter only numbers. I want to add some formula like: For x: SystemInformation.PrimaryMonitorSize.Width / 2; For Y: SystemInformation.PrimaryMonitorSize.Height / 2; Could anyone please help me fix this ??

Member Avatar
Member Avatar
+0 forum 6

Hi ,There I hope you can help me with this I need a Java algorithm to help me find how much % is string A relevant to String B Example : String A => Java ,C++ ,C# ,Assembly String B => java ,c++ then Result should be => 50% relevant it's the most simplified example I've searched every little site on google but they are all 0% relevant to what I want Thanks in advance :)

Member Avatar
Member Avatar
+0 forum 13

I have created a table in a mySQL DB where users are going to a form and entering ratings on 6 Categories (5 Specific and 1 Overall) for a particular item_id. On the item table, I have a column that calculates the total number of ratings this particular item_id has received. What I want to do is create a query that calculates out the "average" value; however, I want it to weight things differently. So in essence, I want the final calculation to look like this: .40 ( Rating 1 + 2 + 3 + 4 + 5) + .60 …

Member Avatar
Member Avatar
+0 forum 12

Hi all! I am working on making a dashboard for the inventory of our trucks. I'm having some problems with figuring out how to calculate the percentage of the total SUM of trucks per MAKE without running two different queries. You can see below what I have working this far, but I would rather not have to run two queries if I can avoid it. I am still learning php for the most part, so bare with me! Thanks for you time. [CODE] //Get total SUM of trucks in inventory $qry = "SELECT COUNT(*) as sum FROM Assets WHERE assetStatus …

Member Avatar
Member Avatar
+0 forum 1

I have 3 DIVs I'm floating left so they all line up in columns. The middle (2nd) DIV is a separator. The outer DIVs are the main content and I have set each of their width to 49.5% and the middle separator DIV to 1%. FF and IE seem to handle this fine and does display differently than using 49% on outers and 2% on inner. Any reason this is a bad idea to use a half percentage for the width? I see nothing saying you can't but nothing saying it is an acceptable value either.

Member Avatar
Member Avatar
+0 forum 2

The End.