Search found 40 matches

by sturekdrf
Sun Jun 24, 2012 7:29 pm
Forum: PHP
Topic: Okay help with blog system.
Replies: 11
Views: 1269

Re: Okay help with blog system.

For my next site yes ill have to change it to be 5, for my current site because how its designed it just needs to be 1.

monstersagainstcancer.com/indextest.html is how its currently setup. Its not on my main page but its what I am using right now to get it setup right and adjust things.
by sturekdrf
Sun Jun 24, 2012 9:57 am
Forum: PHP
Topic: Okay help with blog system.
Replies: 11
Views: 1269

Re: Okay help with blog system.

Honestly could not fully figure out how to go from there but I found something that I got working, i just need to add the forward and backward part of it. But I will post the whole process that I got it to work with here, to see what you think. [syntax=php]<?php //Variable for amount of posts to sho...
by sturekdrf
Fri Jun 22, 2012 8:58 pm
Forum: PHP
Topic: Okay help with blog system.
Replies: 11
Views: 1269

Re: Okay help with blog system.

Actually [syntax=php]$post = get_post(get_total_posts());[/syntax] does work, since it returns the total number of posts it would be used as the int for the first function causing it to always give me the very last post. At least every time I tested it to make thats what it did it worked. The proble...
by sturekdrf
Fri Jun 22, 2012 11:47 am
Forum: PHP
Topic: Okay help with blog system.
Replies: 11
Views: 1269

Re: Okay help with blog system.

http://monstersagainstcancer.com/indextest.php

this is kind of what I am using as a testing base. Everything in it is very sloopy its not done was just trying to get things to work.
by sturekdrf
Fri Jun 22, 2012 11:44 am
Forum: PHP
Topic: Okay help with blog system.
Replies: 11
Views: 1269

Re: Okay help with blog system.

Okay I can't for the life of me figure out a good solution to this problem I have having now. Currently I have scripted and have working the login system, the post system, I formatted the page so the news works. What I am having issues with is for my current webpage that I am working on I only need ...
by sturekdrf
Fri Jun 22, 2012 1:10 am
Forum: PHP
Topic: Okay help with blog system.
Replies: 11
Views: 1269

Okay help with blog system.

So, I have figured out a large majority of this system kind of taking it step by step starting with the login and verification system. My biggest problem at the moment and I am sure it mixes in with css but don't quite have a good idea of how yet. Here is a small list of issues I am having problems ...
by sturekdrf
Thu Jun 21, 2012 9:11 am
Forum: PHP
Topic: Private message system PART 11 error
Replies: 7
Views: 893

Re: Private message system PART 11 error

Could be wrong but for database stuff shouldnt you be using ' ' in there like below?
mysql_query("DELETE FROM 'conversations' WHERE 'conversation_id' = {$conversation_id}");
by sturekdrf
Thu Jun 21, 2012 8:22 am
Forum: PHP
Topic: Hack your own work?
Replies: 5
Views: 722

Re: Hack your own work?

The creator of this amazing site actually did do some videos on security you should check them out.

http://betterphp.co.uk/playlist.html?pi ... 5E221006B8
by sturekdrf
Wed Jun 20, 2012 7:34 am
Forum: CSS / Styling
Topic: Actual webpage design (graphic wise not coding)
Replies: 1
Views: 1358

Actual webpage design (graphic wise not coding)

Anyone know any good sites as far as good design (setup and graphic apperance color matching etc) to help build better looking pages?
by sturekdrf
Sun Jun 17, 2012 1:59 pm
Forum: PHP
Topic: variables with sql code?
Replies: 4
Views: 560

Re: variables with sql code?

Thanks for the explanation with while, glad at least I am making some head way on querys, dunno why i have such a hassel with it.
by sturekdrf
Sun Jun 17, 2012 1:48 pm
Forum: PHP
Topic: variables with sql code?
Replies: 4
Views: 560

Re: variables with sql code?

So if I am reading this right and bear with me because query's are probably my the biggest thing I have trouble with in PHP. That code, gets two columns from the table named table, turning the really long column into just column using the AS function and leaving the other one normal. The while state...
by sturekdrf
Sun Jun 17, 2012 1:31 pm
Forum: JavaScript
Topic: Think my page is throwing up a java warning.
Replies: 3
Views: 1782

Re: Think my page is throwing up a java warning.

Ya I don't see anything ether, that would be poping up a security message, perhaps a over protective program that is upset because of the javascript? i am going to bet she was using IE, don't think she knows anything about any other browsers lol.
by sturekdrf
Sun Jun 17, 2012 3:03 am
Forum: PHP
Topic: variables with sql code?
Replies: 4
Views: 560

variables with sql code?

Okay the below code is obviously not complete I had a question though. When I was watching the tutorial, I noticed that as far as I saw there was not a column for total_posts. So by doing the AS `total_posts` is that creating a variable or temporary table/column to store the about query information?...
by sturekdrf
Sun Jun 17, 2012 2:45 am
Forum: JavaScript
Topic: Think my page is throwing up a java warning.
Replies: 3
Views: 1782

Think my page is throwing up a java warning.

www.monstersagainstcancer.com Okay, so I had someone tell me that they where getting a java warning, now I myself have no ran across any particular issues with my own site or anyone else that I am aware of. What I am thinking is they have their stuff set to warn about javascript. Now as far as I kno...
by sturekdrf
Sun Jun 17, 2012 2:25 am
Forum: CSS / Styling
Topic: Footer looks like header
Replies: 6
Views: 2501

Re: Footer looks like header

I would say its how you are using your position, did you try adding bottom to it?
by sturekdrf
Sun Jun 17, 2012 2:18 am
Forum: PHP
Topic: Problem with the blog tutorial...
Replies: 7
Views: 754

Re: Problem with the blog tutorial...

Me nothing lol, I didnt do anything other than post it in here to have someone more knowledgeable help. I knew basic php, enough to get my by with forums and decided to really take the extra step and learn it thoroughly to improve my web design skills since I started up a charity site, and now worki...
by sturekdrf
Sat Jun 16, 2012 7:53 pm
Forum: PHP
Topic: Problem with the blog tutorial...
Replies: 7
Views: 754

Re: Problem with the blog tutorial...

damnit, knew it was a typo thanks.
by sturekdrf
Fri Jun 15, 2012 10:08 pm
Forum: PHP
Topic: Problem with the blog tutorial...
Replies: 7
Views: 754

Re: Problem with the blog tutorial...

Sorry I guess I did a bad job at copy and pasting apparently that function is in there. I updated the script above to reflict the entire function my apologies on that. But when i run it through the database sql it says it not getting any rows or 0-0 rows but its also showing no errors. Which leads m...
by sturekdrf
Fri Jun 15, 2012 8:32 pm
Forum: PHP
Topic: Problem with the blog tutorial...
Replies: 7
Views: 754

Problem with the blog tutorial...

So been nudging my way through the tutorial and minus the few typo's that I had to go back and fix everything "seems" to be working fine. EXCEPT the get_posts function seems to not work. I am not getting any errors when loading the page, but I am also not getting anything being displayed. ...