Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - Matt_NMS

1
Questions / Broken "Publish" Function
Hey Guys,

I have broken the "publish" function somehow.
If I make any changes and publish, the changes are not applied.

I tried to give it a new URL and folder to save to in publish and I get the following message:
Parse error: syntax error, unexpected '__userdefinedusername' (T_STRING) in D:\xampp\htdocs\NMSPortal2\config.php on line 100
3
Questions / Calculate a field % of total
Hi Guys,

I have made a web app using PHPRad, and need to report on the % a field value compared to the sum of all the field values..

e.g.

Table:
IDProcessValue
1ArcSpray10
2Machine5
3ArcSpray12
4ArcSpray20
5Machine24
6ArcSpray34
7ArcSpray100
I want to find the percent (%) that ArcSpray is compared to the total in relation to the values.
the simple math is,
SUM (Values WHERE Process = ArcSpray) / SUM (Values) * 100 = %

I have done this in excel and access (via multiple queries)


RESULT:
ProcessPercent of Total
ArcSpray86.27
Can someone please help how I may be able to get this done?