Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21737

Re: JS, PHP, and AJAX

Message-ID <2434662.eOepierZYn@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-10-26 02:04 +0200
Subject Re: JS, PHP, and AJAX
Newsgroups comp.lang.javascript
References <6ae3bb3b-0d74-4c8f-969b-0e5a9e9a3e05@googlegroups.com> <l4e04u$99a$1@dont-email.me> <1e30958a-b37f-4856-af91-1dd8fad9f926@googlegroups.com>

Show all headers | View raw


Kale wrote:

> it says error on $food = $_GET['food']; it says PHP Parse error:  syntax
> error, unexpected T_VARIABLE, expecting ',' or ';' How do I fix this line

The line

  $food = $_GET['food'];

is syntactically *valid* *PHP* code.

This is a newsgroup on *J(ava)Script/ECMAScript* at its applications.

<http://www.catb.org/~esr/faqs/smart-questions.html>

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JS, PHP, and AJAX Kale <kalezwe@gmail.com> - 2013-10-24 20:05 -0700
  Re: JS, PHP, and AJAX Gregor Kofler <usenet@gregorkofler.com> - 2013-10-25 09:40 +0200
  Re: JS, PHP, and AJAX Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-25 14:44 +0000
    Re: JS, PHP, and AJAX Kale <kalezwe@gmail.com> - 2013-10-25 16:29 -0700
      Re: JS, PHP, and AJAX Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-26 02:04 +0200
        Re: JS, PHP, and AJAX Kale <kalezwe@gmail.com> - 2013-10-25 20:30 -0700
          Re: JS, PHP, and AJAX Gregor Kofler <usenet@gregorkofler.com> - 2013-10-26 10:40 +0200
      Re: JS, PHP, and AJAX Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-27 17:47 +0000

csiph-web