Netbeans previews

Discussion in 'Mac Programming' started by Justkeepmoving, Feb 2, 2012.

  1. macrumors newbie

    Jan 21, 2012
    Anyone have any idea why my pages wont preview correctly through Netbeans 7.1? Mac OSX 10.6.8.

    If i open html written in notepad through Safari, i get a 'true' view of my page (i assume, because it works like expected), but if i open the same file in Netbeans and click run, it just shows up plain text with no formatting, images etc.

    I'm trying to preview a php document now and obviously can't just preview with a browser, but am having the same problem.

    I'm using MAMP and MySQL workbench for my databases, though i don't think these will be the issue?

    n00b in most of this i'm afraid, so ANY step-by-step advice or instructions appreciated :D

  2. macrumors 65816

    Nov 26, 2007
    Austin, TX
    I use netbeans, but not for html or php, so I'll try to help, but no sure how much help I'll actually be...

    Anyway, what type of project did you create? Also, do you have the PHP plug-in installed?
  3. thread starter macrumors newbie

    Jan 21, 2012
    Hi thanks for your reply. Yes, I have installed the PHP plug-in and it is activated. There is an available plug-in called PHP Symfony2 Framework too, but guessing it's for something else.

    I started a PHP project and it has 2 'pages' so far- a .css file and an index.php file. I've attached a screenshot of my Netbeans screen- you might notice something.

    Thanks :cool:

    Attached Files:

Share This Page