Hi - Im sitting and trying to understand this OOP - and need to create a
class wich can do the following..
ShowBlocks() - Displays the data wich is inside it - If empty creates a form
wich sends the info back to the Object, wich show the stuff..
AddBlock( $type ) - Creates an empty blok - wich is addet to a blocks area
object...( Or somethin like it )
Store() - safes the info into a file, and updates mySQL...
I have figured out most of the stuff but the way to get the empty block ->
creating form with some different strings/textbloks and a file -> putting
stuff into object -> now showing what its looks like and aking if i want to
add a extra block....... now showing x blocks then asking if i want an extra
block - i haven´t got a clue of how to do it !
Does anyone of you have an example with an object thats goes : See im a
empty object -> here you can put an line into me -> see im not empty now (
showing the string) do you want to add an extra line ? - ect ect..
In Advance Thanks !
Timo.