correct indentation for php

IM has searched and searched.

is it possible in dw to correct the indentation on php (as in eclipse).

If I copy and old code of online, or say add a loop around all of my code, I have to go back and tab of each line.  There must be a better way.

Format source doesn't seem to work - correct html, but not PHP.

Do I need to use another edit?

Thank you all,

JB

I'm not aware of any features or extensions for DW which will beautify (correctly format) PHP code

Eclipse is probably your best option.

Some other tools are discussed here

http://coding.smashingmagazine.com/2007/07/12/time-savers-code-Beautifier-and-formatter/

Tags: Dreamweaver

Similar Questions

  • Re: Satellite M35X-S149 - impossible to find a correct battery for this model

    I can't find the correct battery for this model.
    I looked on the websites of Toshiba, but I did not yet find.

    This model does not recognize by finder tool toshiba.
    I will be grateful if anyone has any idea where I can find suitable battery.

    Battery model number is: PA3395U-1BRS

    Hello

    You are already viewing the battery model number.
    Where is the problem? Google for this farm and I m you will get some online merchants who could provide this battery.

    Otherwise, get in touch with the Toshiba ASP in your country and order compatible battery.

  • How can I install SQL SERV 3.0 for PHP 5.4 on Windows XP SP3?

    I want to install SQLSERV3.0.EXE for PHP 5.4 on windows xp, but it gives an error

    "not valid win32 Application".

    All solutions?

    Thanks before...

    Hello

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums:
  • Need to correct settings for Verizon wireless on Outlook Express.

    Original title: outlook express

    I need the correct settings for outlook express. I'm using win - xp os.my provider is verizon wireless.

    I know not e other information you need to help?

    dry75

    Search on the website of verizon wireless. Or contact them

  • Need to find the correct reference for replacement screen Aspire 5742

    Hello

    I need to find the correct part for replacement screen Aspire 5742.  The backlight does not work anymore, and I already bought a UPS to see that this model/version does not use a UPS (as the backlight is LED and integrated in the element of the screen).  I find the somewhat confusing model numbers table.  The full model version seems to be:

    5742 - 464G50Mnnk

    S/N: [redacted to comply with guidelines]

    SNID [redacted to comply with guidelines]

    This seems to be a very good laptop that belongs to a mine Guigou, but not worth repair at the local dealership, and I'm sure I can replace the screen myself if I can get the right part, having already dismantled the set of sieves and to be an electronic engineer.

    Either way, I guess that this version of model is the 5742, not the 5742 G (even if the model number has a 'G' in it: some of the confusion).  Any help would be appreciated.

    Part numbers for the 15.6 TFT LCD for the Aspire 5742 are:

    LK.15605.004
    LK.15605.010
    LK.15606.009
    LK.15608.007
    LK.15608.011
    LK.1560A.004
    LK.1560D.010
    LK.1560E.004
    LK.15605.019
    LK.15606.012

  • HP Mini 110-3549tu: pls send the correct driver for HP Mini 110-3549TU win 7 32 bit

    pls send the correct driver for HP Mini 110-3549TU win 7 32 bit... I try to look for the HP Mini 110-3549TU in your search engine in support download driver, when I try to download and install, all off them are not compatible as the wifi Ralink 802.11 b/g/n WiFi Adapter sp55086.exe... I need the controller ethernet network controller, video controller... driver

    Hello:

    Graphics card:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-84613-1&cc=us&DLC=en&LC=en&OS=4062&product=4166078&sw_lang=

    Ethernet:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-85100-1&cc=us&DLC=en&LC=en&OS=4062&product=4166078&sw_lang=

    I know not what model your wireless card then please do the following and I will understand this...

    Since there is no driver installed wireless, we need a labeled device network controller in Device Manager in the category other devices.  The network controller device will be a little! mark next to him.

    Thus, to find the network controller device, click on that and then click on the Details tab.

    Now, you see a drop-down list of property and it is set by default to the Description of the unit.

    On this list and select the second element (Hardware ID).

    After the first string of characters you see in the window.

  • All the tools to analyze and correct register for XP?

    Someone has suggestions on all the tools to analyze and correct register for XP?

    Thanks in advance for your suggestions

    There is a way if you have the xp installation cd. Try kb307545

    Although she said "Corruption of the registry" that prevents the boot, xp he

    will fix it... Need to boot from the xp cd, press r to the menu, simply enter recovery console.

    Select 1 for C: press button for password

  • Here are two correct graphics for the Pavilion dv7-4270us cards:

    Here are two correct graphics for the Pavilion dv7-4270us cards: ATI Mobility Radeon 6370 AND AMD880G with ATI Mobility Radeon HD 4250?

    An overview chart problems and need to ensure.

    Well, after all the day I found my answer in a review of this laptop on amazon.  That is this HP forum.  I never get help here.

  • install the correct player for a fax modem

    install the correct player for a fax modem

    Post proposed by the facilitator for the appropriate forum placed

    Follow the instructions in this article, references Windows 8.1, but the same instructions should also work for Windows 7:

    http://techingiteasy.WordPress.com/2013/07/08/using-compatibility-mode-in-Windows-8-1/

  • Flash Builder 4.6 for PHP and SDK 2 questions

    I have problems with Flash Builder for PHP 4.6 and the Playbook Air SDK 2.0. It worked fine with the Air SDK 1 Playbook, but for 2.0 he moved not (error integration with Flash Builder) and when I try to update in Flash builder I get an error of missing requirements. Flash builder 4.6 works fine with the PlayBook SDK, but not the PHP version. I bought the PHP version after the end of my trial of 4.6 so I could build an app that tied in the server services and to think that both versions are the same.

    Everyone knows this and is at - it a solution?

    Thanks in advance.

    Hello

    Flash Builder for PHP 4.6 is not supported by the BlackBerry Tablet OS SDK for Adobe AIR. Sorry for the inconvenience this has caused.

    Dustin

  • Correct procedure for a background application

    I'm just after some advice on the correct procedure for the handling of my application going on in the background.

    Basically I want the app to continue running if the user switches to another application, unless the user chooses the close menu item.

    So right now I'm handles the event close and him do ask the background so it stops at the close running event and my screen from the stack.

    public void close() {
        UiApplication.getUiApplication().requestBackground();
    }
    

    Now, this caused the menu item close not to work because she calls just this code as well.

    Am that I supposed to replace the narrow Menu with my own?

    Or I just hurt?

    I also want the app to close if the BB will restart or reboot.

    Chris

    What you have done is very good - I suggest that you also add an another menu item 'Stop the Application', which stops everything and makes a system.exit()

  • HP Officejet 4635: Should I correct disk for my officejet 4635?

    I'll apologize in advance if this is a stupid question... I have myself treated right on a HP Officejet printer (wireless) to use with my iPad Air 4635. The manual and the disk that came with it is for the "4630 e - all-in - One Series. Since my iPad is not able to use the drive and I have to do with a laptop, friends before I open anything, it's the correct disc for my printer? Thank you very much for engaging in an old lady.

    Hello

    She's the one, the series (maybe of 4630 to 4639 printers) uses a lot of things including the drivers and manuals.

    Kind regards.

  • Export issues of sequences with the correct settings for DVD

    Hi - I'm relatively new at first, but working on a project that is very important for me - for the life of me I can't understand correctly export settings.

    I have compiled from home movies of my family in a few sequences for the 60 years of my dad. I worked on these weeks now get cleaned and put all together. In total, it's about 24 hours of footage. These videos have all turned initially on a very old camera video in the 80 and 90 - the kind you actually stuck a VHS tape in. My ultimate goal is to put these or on a DVD (although I guess that's too many images for one), or a drive flash or something of all compiled in one video.

    So far, I got error messages on not enough disk space - so I tried breaking the sequences and exported individually as smaller files. But now, when I export those, all videos come out tiny - the video focuses on a much larger screen, do more fit to size. I studied everything about elongation and corresponding parameters and I tried everything. Of course I do not something good, I don't know what.

    I tried all different export settings, the settings of the sequence, and I thought I was following with the sequence settings, but I guess I'm not. Although I worked on it for weeks, I am out of time. His birthday was yesterday, and I wanted to give her the finished disc tomorrow. This does not seem possible as I am about to give up!

    Someone please help! I would be grateful if someone could guide me through what my sequence settings should be and what my export settings should be and how to get the video output to the correct size for the screen.

    I appreciate your help,

    Danielle

    Time of export will vary widely, depending on at least these factors

    1 - your computer... Processor and the amount of RAM, and is this external drive, USB2 and USB3?

    2. what you change, and effects that you have applied your 718 x 480 video size... is odd, the usual when scanning a VHS tape is 720 x 480, so your video requires 'some much' extra processing

  • Can anyone advise on the correct format for indexoptions vbscript?

    Can anyone advise on the correct format for indexoptions vbscript?

    I'm going round in circles trying to do things.

    for example indexoptions.title when you install a vbscript to generate an index

    I can't find the right object to attach to.

    There was a book and a Document is open in these attempts have been made:

    InDesign.ActiveBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method

    "InDesign.Application.ActiveBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "Application.ActiveBook.IndexOptions.Title ="New Index"' application error 424 object required"

    "ActiveBook.IndexOptions.Title = 'New Index' ' error 424 object required ActiveBook"

    "InDesign.Application.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "Application.IndexOptions.Title ="New Index"' application error 424 object required"

    "MyInDesign.IndexGenerationOptions.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    ' MyIndexDocument.Indexes (1). IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method

    ' MyIndexDocument.Indexes (1). Title = 'New Index' ' error 438-object doesn't support this property or method

    "MyIndex.Title = 'New Index' ' error 438-object doesn't support this property or method"

    ' myBook.Indexes (1). IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method

    "MyInDesign.ActiveBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "MyIndex.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "MyInDesign.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "IndexOptions.Title = 'New Index' ' error 424 object required IndexOptions"

    "myDocument.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "IndexOptions.Title = 'New Index' ' error 424 object required IndexOptions"

    "InDesign.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "myBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    Any suggestion would be appreciated.

    Hi Jongware,

    I guess that's not chrisnaylor error but a typo in the VB removal:

    In the "local", we can see that this should have begenerationof Index Options:

    Kind regards
    Kasyan

  • Correct syntax for powercli reports (csv format)

    PowerCLI novice here... trying to get my head around the correct syntax for the declaration of properties in a csv file.

    I know that the underside is all wrong, but it should be easy to understand what I am trying to accomplish. Im just not sure what the correct syntax should be to achieve the desired results (which is just the capture device, model type and State to a csv file).

    $report = @)

    $info = get-VMHost | Get-VMHostHba | where {$_.} Type - eq "FibreChannel"}

    $row = "" | Select the device, model, type, status

    $row. Device = $info. Select the device

    $row. Type = $info | Select the Type

    $row. Model = $info | Select the model

    $row. Status = $info | Select the State

    $report += $row

    $report | Export-Csv "c:\Temp\results.csv" - NoTypeInformation

    ############

    Thanks in advance for the answers...

    Kevin

    Try this:

    $report = @)

    foreach ($esx get-cluster | get-vmhost | get-view | sort-object name) {}

    foreach ($hba in $esx. Config.StorageDevice.HostBusAdapter) {}

    if($HBA.) GetType(). {Name - eq "HostFibreChannelHba")}

    $row = "" | Select the WWN, device, model name, State

    $row. Name = $esx.name

    $wwn = $hba. PortWorldWideName

    $wwnhex = '{0}': x f $wwn

    $row. WWN = $wwnhex

    $row.device = $hba.device

    $row.model = $hba.model

    $row.status = $hba.status

    $report += $row

    }

    }

    }

    $report | c:\Temp\hbainf-to-host.csv - NoTypeInformation csv export

Maybe you are looking for