Search found 8 matches
- Sat Apr 27, 2013 8:55 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
Re: PHP Tutorial: Blog (Including Commenting) [part 04]
Hmmm, strange now it works maybe i didn't save it before testing however i seem to get the pragraph signs in my post. Only problem now is that it display's the html tags in normal writing like: </p>. But i geuss that's because of the js, or is it because of this part of the post.inc.php? $body = mys...
- Sat Apr 27, 2013 8:29 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
Re: PHP Tutorial: Blog (Including Commenting) [part 04]
I've added the missing part (how silly of me to forget that). But if i delete the javascript now it works, else it won't. So there must be something in the javascript that clashes with the php script. So here again (and now the right version) of my blog_post.php: <?php include('core/init.inc.php'); ...
- Sat Apr 27, 2013 2:32 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
Re: PHP Tutorial: Blog (Including Commenting) [part 04]
Hmmm, seems that you're right. I'm guess that I've accidentally deleted something from the query's. Only i can't figure out what it is. I hope someone else can see it cause i'm staring myself blind on it. :? post.inc.php <?php // checks if the given post_id is in the table. function valid_pid($pid){...
- Wed Apr 24, 2013 8:31 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
Re: PHP Tutorial: Blog (Including Commenting) [part 04]
Thanks for the help so far you guys are the best! :D I have another question. (i hope it's not getting annoying) I've tried to connect a tinyMCE script with the blog post file. It worked kinda but now i'm unable to post, the information seems to be incapable to be send to the database. Is there a wa...
- Thu Apr 18, 2013 4:04 pm
- Forum: CSS / Styling
- Topic: Cross-Site Stuff
- Replies: 2
- Views: 2463
Re: Cross-Site Stuff
This is how i did it: <link href='http://fonts.googleapis.com/css?family=Josefin+Slab:300' rel='stylesheet' type='text/css'> (this in the HTML-file). I don't know if it helps you, but it works for me all the time.
- Thu Apr 18, 2013 11:36 am
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
Re: PHP Tutorial: Blog (Including Commenting) [part 04]
Hello people, i'm back. I finished the series succesfull. But now i have a question in the video the date format at the read_blog page is shown as yyyy-mm-dd, but i want it shows up like this: dd/mm/yyyy or dd-mm-yyyy. So is there a way to change the format? hope you guys can help me, already thanks...
- Tue Apr 16, 2013 9:12 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
Re: PHP Tutorial: Blog (Including Commenting) [part 04]
Nevermind people, found the problem myself I spelled the server username wrong. xD
- Tue Apr 16, 2013 2:28 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog (Including Commenting) [part 04]
- Replies: 9
- Views: 5377
PHP Tutorial: Blog (Including Commenting) [part 04]
Hello i'm very nooby to php and followed the serie about writting a blog code, but at part [4] we tried to use blog_post.php at around 10:23 and this gave me the following error pop-up: "Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\blog\core\...