• Quick links
    • Unanswered topics
    • Active topics
    • Search
    • The team
  • FAQ
  • Login
  • Register

PHP forum, your PHP coding community

A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.

  • Home Board index php forum :: php coding PHP coding => General
  • Search

need fix error

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

  • Quote

Fri Mar 01, 2013 8:42 am

this line:

Code: Select all

$_SESSION['userid'] = $row[id];
should read

Code: Select all

$_SESSION['userid'] = $row['id'];
'UNEXPECTED CONSTANT' means "You've forgotten to quote something"
Top

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

  • Quote

Mon Mar 04, 2013 10:03 am

No problem, I'm glad i could help.
Top

Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “PHP coding => General”

Jump to
  • php forum :: php coding
  • ↳   PHP coding => General
  • ↳   PHP coding => Images
  • ↳   PHP coding => Mail
  • PHP
  • ↳   PHP General
  • ↳   PHP Scripts
  • ↳   PHP Installation
  • ↳   PHP Jobs
  • ↳   PEAR and PECL
  • ↳   Your Scripts
  • php forum :: Database
  • ↳   mySQL & php coding
  • ↳   phpMyAdmin
  • ↳   MySQL Installation
  • ↳   Other Database Engines
  • php forum :: PHP and MySQL Security
  • ↳   PHP & MySQL Security
  • System Administration
  • ↳   Server installation and configuration
  • ↳   Server security
  • php forum :: HTML
  • ↳   JavaScript
  • ↳   HTML Basics
  • ↳   CSS
  • php forum :: Bar
  • ↳   Free time
  • ↳   News and Announcements

Login  •  Register



ADVERTISEMENT


ADVERTISEMENT


ADVERTISEMENT

  • Home Board index
  • All times are UTC-08:00
  • Delete all board cookies
  • The team
  • Contact us
 

 

Powered by phpBB™ • Design by PlanetStyles
cron