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. ?php require_once inc/common.php; $blogid = ((!empty($_GET['blogid'])) ? $_GET['blogid'] : '' ); try { $sql = SELECT blogid, content FROM `bloggen` WHERE id=.(int)$blogid; $result = $DB-query($sql); foreach

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

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 li...@silvio-siefke.de 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

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 untrained