Reports set up in PWA 2010

Hi
I am not able to navigate information about projects resources worked on and Administrative task they have in One report.
Although I can have this information in 2 seprate reports.Does anyone knows why? 

Hi
Out of the box the “TimesheetActuals” report will show the Administrative time.
When you open the report, it will show like the below screen.
Also you can run the below query on the database to get the administrative time.
SELECT     MSP_TimesheetActual.TimeByDay
   , MSP_TimesheetLine_UserView.ResourceName
   , MSP_TimesheetLine_UserView.ProjectName
   , MSP_TimesheetLine_UserView.TaskName
   , MSP_TimesheetLine_UserView.TimesheetLineClass
   , MSP_TimesheetActual.ActualWorkBillable
   , MSP_TimesheetActual.ActualWorkNonBillable    , MSP_TimesheetActual.ActualOvertimeWorkBillable
   , MSP_TimesheetActual.ActualOvertimeWorkNonBillable
   , MSP_TimesheetActual.PlannedWork
   , MSP_TimesheetActual.Comment
   , MSP_TimesheetLine_UserView.TimesheetLineStatus
   , MSP_TimesheetLine_UserView.TimesheetLineClassType
   , MSP_TimesheetLine_UserView.TimesheetStatus
FROM     MSP_TimesheetActual INNER JOIN
                      (SELECT     *
        FROM       MSP_TimesheetLine_UserView
        WHERE     (ProjectName = N'Administrative')) MSP_TimesheetLine_UserView
   ON MSP_TimesheetActual.TimesheetLineUID = MSP_TimesheetLine_UserView.TimesheetLineUID ORDER by Resourcename

Similar Messages

  • Error in Pwa 2010 report

    Hi,
    when I am adding fields to my pivot table in Report in Pwa 2010. I am getting the error below.

    The screenshot corresponds to the OLAP cubes
    configuration that you reached clicking on "configuration".
    The parameter I mention are in the OLAP cubes
    settings accessible by clicking directly on the OLAP database name from server settings, OLAP data management.
    See references here:
    http://blogs.msdn.com/b/project/archive/2010/01/06/project-2010-business-intelligence-overview.aspx
    http://www.gurusoftware.com/ProjectServer/Learning2010ActualTraining/Courses/Administrator/Sections/ProjectServerMisc/OLAPDatabaseManagement.htm
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • PWA 2010 reports time out

    hi
    one of the user if leave reports open in pWA 2010 for more than 5minutes I guess it times out.
    Could you please advice why?

    Hello, please can you give more details? What report? What technology, Excel, SSRS etc? Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Reports permission in Project server 2010

    Hi,
    I have reports created in SSRS, i need to bring those reports to Project Server PWA. How to do that? i need the steps.
    Reports like Number of active resources working in Project, Number of projects in that PWA instance.
    My requirement is, i have a structure like Executives - Program Managers1- 1.Project Manager 2. Project Manager. 
    Program Manager2 - 1. Project Manager 2. Project Manager.
    Each program manger has to see only their projects(the project which comes under him) in PWA not the other Program Manager's project and Project Manager has to see only his project not the other project manager's project in the same program.
    I have Executive who should see all the projects in the organization.
    Can someone assist me how to execute in Project Server 2010 PWA?
    K.Gokulraj

    Hello,
    Sounds like you might need to use the project server security to filter the data in the reports, take a look at this example:
    http://msdn.microsoft.com/en-us/library/office/ee862408(v=office.12).aspx
    To get the reports in side PWA there are several options. As you are querying this I guess SSRS in not SharePoint Integrated mode? If in SSRS Native mode you can just add page viewer web parts on the pages in the PWA site then reference the report server
    report URL.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Crystal Reports, version for Visual Studio 2010 Problem

    Dear all,
    I encounter a problem after installed the crystal report version for Visual Studio 2010. Once I call                              
                           ReportDocument.PrintToPrinter(1,False, 0, 0)
    The error message prompt:
    Report is unavailable(Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:index)
    If I try
                             ReportDocument.PrintToPrinter(1,False, 1, 1)
    It can print the 1st page of the report.
    I also try to create a simple report. It works.
    After installed this version, my reports also encounter the same problem in Visual Studio 2008.
    My report has sub-reports. My PC is Windows XP.
    Anybody has idea on this issue!?

    Now you can set the various printer options using the PrintOutputController. I'm using a UI box to select the printer but your developer should be able to figure this out. If not you can include him in the e-mail, it would be fine to go direct. Of course you will stay in the thread:
         private void btnSetPrinter_Click(object sender, System.EventArgs e)
              System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
              // Use the next line if you need to, you'll ahve to test. Depends on how the reports were saved.
                //CrystalDecisions.CrystalReports.Engine.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                //CrystalDecisions.ReportAppServer.ReportDefModel.ISCRPrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                //pDoc.DefaultPageSettings = pgSettings;
                PrintDialog dlg = new PrintDialog();
                dlg.Document = pDoc;
                if (dlg.ShowDialog() == DialogResult.Cancel)
                    MessageBox.Show("Cancel Button clicked", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                else
                    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions MYPRTOpts = new PrintOptionsClass();
                    if (rdoCurrent.Checked)
                        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
                   // the next 3 lines may not be necessary.
                        MYPRTOpts.PrinterName = cboCurrentPrinters.Text;
                        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                            pDoc.PrinterSettings.PaperSources[cboCurrentPaperTrays.SelectedIndex].Kind;
                        MYPRTOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
                        //MYPRTOpts.PageMargins.Bottom = .1;
                        //MYPRTOpts.PageMargins.Top = .1;
                        //MYPRTOpts.PageMargins.Left = .1;
                        //MYPRTOpts.PageMargins.Right = .1;
                    else
                        pDoc.PrinterSettings.PrinterName = cboDefaultPrinters.Text;
                        MYPRTOpts.PrinterName = cboDefaultPrinters.Text;
                        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                            pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
                        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
                    rptClientDoc.PrintOutputController.ModifyPrintOptions(MYPRTOpts);
                    //MessageBox.Show("Printer set.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                    //MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thank you
    Don

  • Reporting Services 2012 in SharePoint 2010 - SQL database edition?

    We currently have a SharePoint 2010 farm, running on a SQL Server 2008 R2 Standard database.  On one of the SharePoint 2010 servers, we have an instance of Reporting Services 2008 Enterprise running in SharePoint integrated mode.  (We require Enterprise
    for data-driven subscriptions)
    We'd like to upgrade to Reporting Services 2012 for Data Alerts and a few other new features.  However, I noticed something on
    this blog stating that the SharePoint 2010 database server edition needs to match the Reporting Services edition. My concern is that I've not seen any official mention of this in Microsoft's documentation, and would like to avoid upgrading to Enterprise
    for the SharePoint 2010 database if I can avoid it.
    So, what I'd like to run is:
    SharePoint 2010
    SharePoint database: SQL Server 2008 R2 Standard
    Reporting Services 2012 Enterprise
    Reporting Services database: same as SharePoint database, so SQL Server 2008 R2 Standard
    Is this possible?  Or do I need to upgrade the SharePoint database to SQL Server 2008 R2 Enterprise?  
    Alternatively, could I install a separate database engine just for Reporting Services to host its databases (for example, SQL Server 2012 Enterprise), so I don't have to mess around with upgrading the SP database?

    While you don't need to upgrade your SQL 2008 R2 to 2012, you will need to install an instance of SQL 2012 & SSRS 2012. They can be side-by-side and independent of each other. The following blog post provides steps to do so,
    http://www.madronasg.com/blog/how-configure-sql-server-reporting-services-2012-use-sharepoint-2010#.UuEVd2Ao74Y
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Report Generation toolkit for labview 2010

    H All.
    I'm looking to download the report generation toolkit for labview 2010. When I proceed to download the toolkit from the national instrumnets website, it says that i need to labview 2011 or later in order to install it.
    Is there a version of this report generation toollkit for labview 2010 and can someone provide a link maybe??.
    Thanks for reading.
    Solved!
    Go to Solution.

    Try this: [Link removed, NI software downloads can be found on ni.com/downloads, the LabVIEW 2010 Report Generation Toolkit is available to customers with Standard Service Program here: http://joule.ni.com/nidu/cds/view/p/id/3247/lang/en, other customers may contact NI directly]
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Wrong risk creation date in PWA 2010

    Hey,
    We have a weird behavior in PWA 2010. The creation date of some risks in a project site is going crazy.
    Some risks are OK, but other have a creation date of 30/12/1899. I'm pretty sure PWA didn't exist at that time ;-)
    Would you know what could the cause and the solution of this problem?

    Indeed this could explain this behavior.
    Why is this formula by the way? The created field is usually populated automatically with the current date and do not need any formula.
    You'll have this behavior (strange date) if the formula doesn't return anything (in case the "created" value is empty). In this case, it will return a default value that is this odd date.
    I'd advice to review this field and make it equal to the current date and time, with no formula.
    Hoep this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • SAP Infoset Query Reporting Set Restriction by Org. Structure

    Dear Experts,
    I am giving some new users a demo on using Infoset Query on an IDES server.
    I am using the user group Personnel Administration (PA) and the HRDATA infoset.
    As per my understanding, I should be able to restrict the reporting set according to organizational structure as the infoset is based on logical database PNP. However I am only seeing "No. of hits" in the restrict by drop-down (as can also be seen in the screenshot).
    What am I missing to be able to see the restrict by option of "Persons along organizational structure"?
    All assistance in this regard is really appreciated.
    Regards,
    Talha

    Dear Azury,
    Thankyou for your response.
    Your solution is perfectly sound for fulfilling the purpose.
    However, because I am conducting a demo, I thought a reporting set restriction on the main screen would be more appealing, than an additional selection screen.
    In a demo screenshot I have seen that the restrict by option "Persons along organizational structure", is listed right under "No. of hits" like in my screen shot. Can you shed some light on that. I am attaching the demo screenshot I am talking about for reference as well
    Thanks,
    Talha

  • SCCM 2012 How to gerenrate reports Microsoft Office 2003, 2007, 2010

    I need an sql query to generate a report that includes Microsoft Office 2010, 2007 and 2003 only.

    You can either built a custom report with Installed applications (microsoft office%) or take a look at the readymade reports from enhansoft - I just installed some of them earlier today and they have Office reports builtin -
    http://enhansoft.com/
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals

  • Unable to use Set-TextMessagingAccount in exchange 2010

    I unable to use Set-TextMessagingAccount in exchange 2010, tried both in sp2 and sp3 getting following error:
    The operation couldn't be performed because object 'Aditya' couldn't be found on 'ex02.mydomain.com'.
        + CategoryInfo          : NotSpecified: (0:Int32) [Set-TextMessagingAccount], ManagementObjectNotFoundException
        + FullyQualifiedErrorId : C6F712B7,Microsoft.Exchange.Management.StoreTasks.SetTextMessagingAccount"
    Athoght i am able to use "Get-TextMessagingAccount Aditya" successfully with following output
    RunspaceId                      : e57177d4-6bb2-450d-acce-d56e81df6a9b
    Identity                        : mydomain/Users/Aditya Mendiratta
    CountryRegionId                 :
    MobileOperatorId                : -1
    NotificationPhoneNumber         :
    NotificationPhoneNumberVerified : False
    EasEnabled                      : False
    EasPhoneNumber                  :
    MailboxOwnerId                  :
    mydomain/Users/Aditya Mendiratta
    IsValid                         : True
    Please suggest
    Aditya Mediratta

    OK..this works only for currently logged in system account only. Say i logged in as administrator and use "Set-TextMessagingAccount" this would go any change i need to do on myself (administrator) by using "Set-TextMessagingAccount" but
    its yet not able to modify TextMessagingAccount settings for any other users in organization from current administrator account even after adding the administrator to MyTextMessaging Role. Below is how i added administrator to MyTextMessaging Role . I get
    the same error as stated in original query. Please suggest.
    Adding Administrator account to MyTextMessaging ROLE: 
    [PS] C:\Windows\system32>New-ManagementRole -name "Text_Admins" -Parent "MyTextMessaging"
    Name                                                        RoleType
    Text_Admins                                                 MyTextMessaging
    [PS] C:\Windows\system32>Get-ManagementRole "Text_Admins"
    Name                                                        RoleType
    Text_Admins                                                 MyTextMessaging
    [PS] C:\Windows\system32>Get-ManagementRoleEntry "Text_Admins\*"
    Name                           Role                      Parameters
    Clear-TextMessagingAccount     Text_Admins               {Confirm, Debug, DomainController, ErrorAction, ErrorVariab...
    Compare-TextMessagingVerifi... Text_Admins               {Confirm, Debug, DomainController, ErrorAction, ErrorVariab...
    Get-CalendarNotification       Text_Admins               {Credential, Debug, DomainController, ErrorAction, ErrorVar...
    Get-Mailbox                    Text_Admins               {Identity}
    Get-TextMessagingAccount       Text_Admins               {Credential, Debug, DomainController, ErrorAction, ErrorVar...
    New-InboxRule                  Text_Admins               {Name, SendTextMessageNotificationTo}
    Send-TextMessagingVerificat... Text_Admins               {Confirm, Debug, DomainController, ErrorAction, ErrorVariab...
    Set-CalendarNotification       Text_Admins               {CalendarUpdateNotification, CalendarUpdateSendDuringWorkHo...
    Set-InboxRule                  Text_Admins               {Identity, Mailbox, SendTextMessageNotificationTo}
    Set-TextMessagingAccount       Text_Admins               {Confirm, CountryRegionId, Debug, DomainController, ErrorAc...
    Set-UMMailbox                  Text_Admins               {Identity, UMSMSNotificationOption}
    [PS] C:\Windows\system32>New-RoleGroup "Text_admins_Rgrp" -Roles "Text_Admins" -Members administrator
    Name                    DisplayName             AssignedRoles           RoleAssignments         ManagedBy
    Text_admins_Rgrp                                {Text_Admins}           {Text_Admins-Text_ad... {mydomain.com/Users/Admi...
    [PS] C:\Windows\system32>Get-RoleGroup "Text_admins_Rgrp" | FL
    RunspaceId        : 11e84709-8bcf-4777-8dd6-b018d1d2c5d3
    ManagedBy         : {mydomain.com/Users/Administrator, mydomain.com/Microsoft Exchange Security Groups/Organization Management}
    RoleAssignments   : {Text_Admins-Text_admins_Rgrp}
    Roles             : {Text_Admins}
    DisplayName       :
    Members           : {mydomain.com/Users/Administrator}
    SamAccountName    : Text_admins_Rgrp
    Description       :
    RoleGroupType     : Standard
    LinkedGroup       :
    IsValid           : True
    ExchangeVersion   : 0.10 (14.0.100.0)
    Name              : Text_admins_Rgrp
    DistinguishedName : CN=Text_admins_Rgrp,OU=Microsoft Exchange Security Groups,DC=mydomain,DC=com
    Identity          : mydomain.com/Microsoft Exchange Security Groups/Text_admins_Rgrp
    Guid              : b50d3ed8-b8c2-4e9f-a3e9-b54350d3f645
    ObjectCategory    : mydomain.com/Configuration/Schema/Group
    ObjectClass       : {top, group}
    WhenChanged       : 2/7/2015 10:50:45 PM
    WhenCreated       : 2/7/2015 10:50:45 PM
    WhenChangedUTC    : 2/7/2015 5:20:45 PM
    WhenCreatedUTC    : 2/7/2015 5:20:45 PM
    OrganizationId    :
    OriginatingServer : ex02.mydomain.com
    Aditya Mediratta

  • Reporting Set of Books with different calendar from primary SOB

    Hi All,
    We are in 11i multi Org.
    Our primary SOB is with the calender 'JAN-DEC'.
    We have a requirement to create a secondary set of books with a new calendar "APR-MAR" with the same chart of accounts and same functional currency for reporting purposes to our parent company.
    I saw multiple documentation on MRC SOB, the calendar in MRC Reporting SOB must be same as Primary SOB.
    But, in our case, the currency is same, but the calendar structure has to be different.
    I tried to setup 2 new SOB  in Test 1. with a different calender but same functional currency 2. same calender but different currency.
    When I try to assign them to primary set of books through Assign Reporting Set of Books form, only the 2nd SOB ( same calender but different currency) showed up in the LOV for reporting set of Books.
    Can some one shed some light on me to check if it's possible to do so and if yes, then how to setup a new reporting SOB with a different calendar than Primary SOB?
    Thanks
    Radhika

    As far as i know,
    If you want different calendar then you should use Secondary Ledger [Not sure if it is available in 11i but this concept is there in R12]
    If you only need multiple currencies to support your reporting requirements, use reporting currencies with a primary ledger
    Your testing proves the same as well.
    Regards,
    Srini

  • Timesheet Issues in PWA 2010

    My company just upgraded from Project 2003 to Project 2010. In PWA 2003 timesheet view, we were able to see our summary tasks, as well as the Task IDs. I cannot find a way to display either in PWA 2010. I've read the above notes, and I have to believe that
    there is some way to create a custom view or change the existing Timesheet View to allow the display of where each task is in the plan. I've tried creating a custom Timesheet View, using the "Timesheet" template, but that doesn't provide an option
    to select either field (Summary task or Task ID).
    Here's the deal: I have a project plan that has over 1,800 tasks, many of which repeat multiple times within each phase and across phases, and the resources are also repeating the work across the phases. This plan has up to NINE levels of tasks in various
    places. So now, my resources see dozens of the same task name in their timesheet views with no context as to where each task falls in the plan.  The Task Hierarchy column is NOT a sufficient solution for my needs.
    I would appreciate any and all help in figuring out how to display Summary Tasks and Task IDs in the Timesheet View.
    Thanks and happy planning!

    I totally agree with your finding as above you mentioned It's possible in PWA 2003 but when it comes to PWA 2010 it is not available. 
    Many of my customer raised same issue for PWA 201o but unfortunately you can not see Summary task in the Timesheet view. Both you and your users have to live with this and accept the changes brought by MS.
    The workaround of this problem is you can use group by first Project Name then "Task Hierarchy field".  
    As far as custom view is concerned see the
    link
    I can also understand users raise voice and will not be happy to use it as they are habitual to use old functionality but many of the old features gets deprecated with the new version of several product.
    kirtesh

  • How to tell that Crystal Report 13.0 for VS 2010 installed on target mach

    Hi,
    I developed Windows application that has Crystal Report functionality.
    The final step is distribution application development.
    I am using Install Shield 2011 to build Basic MSI project. 
    What is the best registry key value I can use to identify the right version of Crystal Report redistributable has been already installed on target machine?
    I think I am going to use one of the key values that located under HKEY_CLASSES_ROOT\CrystalReports13.
    But which one?
    Also where can I get the minimum requirements when it comes to windows operating systems that supports Crystall Report 13.0 redistributable?
    Thank you.

    I installed CRRuntime_32bit_13.msi on Windows XP SP 3 machine, which is my testing production machine.
    1. Under Add and Remove programs there is only one entry
    -SAP Crystal Reports runtime engine for .NET Framework 4(32-bit)
    -SAP Crystal Reports, version for Visual Studio 2010 has not been installed because I think there is no Visual Studio 2010 installed on the target machine.
    2. During the installation registry keys have been created
    HKLM\SOFTWARE\SAP Business Objects\Crystal Reports for .NET Framework 4.0
    These key has another 9 sub keys I am not going to list here.
    3. After I manually uninstall runtime all registry keys have been deleted except:
    HKLM\SOFTWARE\SAP Business Objects\Crystal Reports for .NET Framework 4.0\Report Application Server
    All assemblies from GAC have been uninstalled
    win32_x86 folder has been uninstalled from
    C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0
    I hope this info will help to safe your development time.
    Happy programming

  • PWA 2010 - Displaying summary task levels in the Timesheet

    LS
    We use 2 summary task levels for some projects and I am strugging to get the summary task info displayed in the timesheet (needed for clarity to distinguish between same tasks under different summary tasks).
    to display summary level one (of one) I use the task hierarchy field successully (if and only if I so the first project publish from the client - not from the browser).
    With 2 summary levels present in the project plan, I can't get the task hierarchy field to display anything - if it did display what should I expect it to show - task summary 1, or 2, or both?
    All help appreciated (what if i could just get those pesky PMs so simplify their GANTTS :) - working on that too...)
    A reluctant Texas Tonie

    My company just upgraded from Project 2003 to Project 2010. In PWA 2003 timesheet view, we were able to see our summary tasks, as well as the Task IDs. I cannot find a way to display either in PWA 2010. I've read the above notes, and I have to believe that
    there is some way to create a custom view or change the existing Timesheet View to allow the display of where each task is in the plan. I've tried creating a custom Timesheet View, using the "Timesheet" template, but that doesn't provide an option to select
    either field (Summary task or Task ID).
    Here's the deal: I have a project plan that has over 1,800 tasks, many of which repeat multiple times within each phase and across phases, and the resources are also repeating the work across the phases. This plan has up to 6 levels of tasks in various places.
    So now, my resources see dozens of the same task name in their timesheet views with no context as to where each task falls in the plan.  The Task Hierarchy column is NOT a sufficient solution for my needs.
    I would appreciate any and all help in figuring out how to display Summary Tasks and Task IDs in the Timesheet View.
    Thanks and happy planning!

Maybe you are looking for

  • Clients Crash When Connected. REALLY ODD!

    Server : System PowerMac G4 running Server 10.4.9 Clients : (2) Mac Pros running 10.4.9 Problem : When clients are connected to the server and browsing via the finder. The clients finder windows crash. This problem occurs when all the icons and infor

  • How do you set-up NAT for online gaming?

    Hi i have recently bought a time capsule as a backup system and a wireless router to replace my old Netgear router. I want to play Age of Empires 3 on my Acer PC running XP against other people on the internet. The game now fails to connect because t

  • Crystal Reports 2008 - automation and scheduling

    Hey there Crystal Reports experts... please answer this question: I've been evaluating the Crystal Reports 2008 package (client package) and have been able to generate some nice summary reports form our SQL database using summary pages which have mul

  • Change Blog date order

    I am creating a travel blog. I know traditionally blogs read from newest post at the top and older posts at the bottom. I'd like to reverse that order and have the posts go by date.... 1st post August 28th, 2nd post August 29th. Is there a way to do

  • Rollover button css styled with php function: possible?

    Hi, I created a working rollover button css styled, with normal href links, using this html: <p class="button"><a href="link"><click here><span>Text</span></a></p> But I would like to know how I can create a "contact us" button with following php fun