Chris

Avatar
  • Total activity 22
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 7
  • Created

    PHPStorm " because it already exists and is a file."

    I'm trying to deploy development files from a Windows 10 (latest build) machine running PHPStorm (latest build) via a local LAN. The server is running Ubuntu 20.04. I am getting the following error...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    PHPStorm and error messages

    When I'm currently coding using PHPStorm I tend to have a window open to the Linux server in which I'm "tailing" the error log for the site I'm working on. To do this I have to SSH into the server ...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Code inspection not recognising table names

    Hi all,   I have a project open in PHPStorm and on the right it is showing my connection to the database and relevant schema. I can expand the tables and see the fields etc in the database "window"...
    • 3 followers
    • 6 comments
    • 0 votes
  • Created

    Classes within Classes

    Hi all,   I have a class thus: [code] class Webpage{ public $system_licence = false; public function __construct() { $system_licence = new Licence; $system_licence->is_valid = tr...
    • 3 followers
    • 5 comments
    • 0 votes
  • Created

    Class error with foreach?

    If I define a class thus: class item { // some variables go here public function add() { // some code goes here return $result; }}$things = new item;foreach($things as $thi...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    PHP fragment in JS page

    I'm writing a project in PHPStorm that uses some JS pages. On one of the JS pages I want to use a PHP fragment to define variables for the JS code to use so I have a <?php echo "var test = $variabl...
    • 3 followers
    • 5 comments
    • 0 votes