doukao2180 2016-06-27 09:27
浏览 142
已采纳

如何在输出窗口中运行Netbeans?

I am currently learning PHP but when I try to run the codes, It's opening a browser and it annoys me cause I cannot follow the course I am taking, I got these codes to display

function __construct($tempFirst="",  $tempLast="", $tempYear="") {
    echo "Person Constructor 
".PHP_EOL;
    $this->firstName = $tempFirst;
    $this->lastName = $tempLast;
    $this->yearBorn = $tempYear;
}

but on other browser the next line is not functioning, and on my OUTPUT windows is blank? please help me run it only in Output window, I want the result only in output window and not open a window when I run, the course I follow only displays output on Output window?

result

  • 写回答

2条回答 默认 最新

  • dousu1900 2016-06-28 06:06
    关注

    It's not possible to show PHP's project output in Netbeans output window. Perhaps you can do this,

    Click on Tools -> Options and in General tab choose Web Browser drop down menu and select Embedded Webkit Web Browser. Now run your PHP project and this will open the output inside the NetBeans itself.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么