Re: [PHP] A Starter has prob in blog script

2011-04-14 Thread Silvio Siefke
Hello, i have it running now. For complete the thread, write here the code with it run. query($sql); foreach ($result as $var) { echo $var['content']; } $DB = null; } catch (PDOException $e) { echo "Fehler: " . $e->getMessage(); exit (); } ?> Regards Silvio -- PHP General Mailing List (http:

Re: [PHP] A Starter has prob in blog script

2011-04-13 Thread Silvio Siefke
Am 14.04.2011 01:35, schrieb Daniel Brown: > Good luck with the rest. You may want to just go back to the CMS, > or at least start with the basics. You may already be learning that > copying and pasting code doesn't always work but sometimes it can > be malicious code that, to an untraine

Re: [PHP] A Starter has prob in blog script

2011-04-13 Thread Daniel Brown
On Wed, Apr 13, 2011 at 17:06, Silvio Siefke wrote: > Hello, > [snip!] > > The File bloggen.php run without any Problems. But the linking want not > work. Oh, boy. Okay, here we go Because you're doing multiple lines if the condition is met, you need to add an opening bracket here:

RE: [PHP] A Starter has prob in blog script

2011-04-13 Thread HallMarc Websites
> > > Regards > Silvio > Sprechen sie deutsch? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A Starter has prob in blog script

2011-04-13 Thread Silvio Siefke
Hello, i has a CMS System, but want better write my website manually. Im started at first with PHP or write a Program. I really not know what i has to do, Google can not ask, i not know what should ask. Google with "mysql link php foreach pdo" help not really. I have for my blog two files, first