umm console.log is for javascript you would use echo as john has showed you