Recent content by DataViper

  1. D

    PHP -> read object value

    Dont worry. First of all: "id" is private. Meaning you can ONLY access it inside the container class. You need to make it public if you want to access it like that. Just replace this private $id; with public $id; then you can do echo $container->id; Otherwise you need to add a so...
  2. D

    Advice needed on coding/design

    Add a "sorting column" type int to your photo table. Query the fotos like "SELECT * FROM photos ORDER BY sorting asc". The lower the number the higher it is shown on the side
Back
Top