Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP code samples completely wrong #1

Open
fireproofsocks opened this issue Dec 30, 2014 · 1 comment
Open

PHP code samples completely wrong #1

fireproofsocks opened this issue Dec 30, 2014 · 1 comment

Comments

@fireproofsocks
Copy link

The PHP code samples on this page are not even PHP... I'm not sure if this page even gets points for trying.

  • Do not use Short tags -- they are not configured to run on all servers.
  • Do not use ASP style tags.
  • Remove HTML entities so this could plausibly be a PHP file
  • Use actual PHP functions. What exactly is example_user[:display_name] supposed to be?
@devlemire
Copy link

Savage!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants