Search found 11 matches

by wuxmedia
Thu Nov 01, 2012 12:28 am
Forum: Introductions
Topic: let make this official
Replies: 3
Views: 19890

let make this official

hey everybody, it's wux, :o
thanks again for all your help. and hello.
very new to php - this looks like a nice friendly place to get started :D
by wuxmedia
Wed Oct 31, 2012 1:00 am
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, post and comments fail insert [Solved]

Temor wrote:Glad you solved it :)
well technically you solved it, i just typed/corrected it !!! :D
by wuxmedia
Tue Oct 30, 2012 11:15 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, post and comments fail insert [mostly Solv

^ well, thats got it :oops:

looks like it functions as intended, now.
thanks guys!
by wuxmedia
Tue Oct 30, 2012 10:28 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, post and comments fail to insert. [Solved]

OK spoke too soon :( All imputed data arrives in mysql, good. But, blogread refuses to display the comments. nothing - doesn't even count them. (or shows zero) blogpost does happily list the number of comments, and last one and when. so, assuming I've understood the logic, the .inc files should be w...
by wuxmedia
Tue Oct 30, 2012 8:55 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, blog post and comments failing to insert.

You :) Goshdarnded :D Genius :lol: yay, bloomin copy and paste. :oops: yes forgot to put that in, and i think its the same prob with the comments post. :roll: all this time i was worrying about the php (new to me) and it was the flippin' html (not so new) thanks for the kind words, i am fairly persi...
by wuxmedia
Mon Oct 29, 2012 9:33 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, blog post and comments failing to insert.

yes, the code had changed, i added Temors code (2nd post) I have removed it and the errors have gone :D however i'm still at square one. :( not sure if i'm the coding 'sort' :cry: i'm getting to think it's a server prob. like i said i have typed a far inferior blog in, similar effect, as soon as i g...
by wuxmedia
Sun Oct 28, 2012 3:06 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, blog post and comments failing to insert.

thanks for dropping by boss. :D I seem to have had a similar problem with a 'simpler' blog effort. as soon as i get the isset things go pear-shaped. but, to the task in hand, adding E_All seems to have dropped this into the mix; By Warning: Illegal string offset 'user' in /home/***/htdocs/wuxmedia/h...
by wuxmedia
Tue Oct 23, 2012 7:54 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, blog post and comments failing to insert.

You could probably remove the mysql_error part entirely, seeing as you don't have any mysql errors. You don't need the var_dump either since there's obviously nothing wrong with $_POST. have you tried putting dummy data through add_comment to see if it adds the comment as it should? Could I have a ...
by wuxmedia
Tue Oct 23, 2012 10:13 am
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, blog post and comments failing to insert.

^ no effect. 8( just changed the position of the var dump, <?php include('core/init.inc.php'); var_dump( $_POST ); if (isset($_GET['pid'], $_POST['user'], $_POST['body'])) { if (add_comment($_GET['pid'], $_POST['user'], $_POST['body'])) { header("Location: blogread.php?pid={$_GET['pid']}")...
by wuxmedia
Tue Oct 23, 2012 6:33 am
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

Re: PHP blog tut, blog post and comments failing to insert.

^ sorry mate that returned exactly the same problem of a blank page. i've ran all the pages through the cmd line: $ php -e 'filename' to see if that gets me anywhere, but it returned an 'empty' html I'm using; debian sid with; PHP 5.4.4-7 (cli) (built: Aug 30 2012 11:15:38) Copyright (c) 1997-2012 T...
by wuxmedia
Mon Oct 22, 2012 11:04 pm
Forum: Tutorials
Topic: PHP blog tut, post and comments fail insert [Solved]
Replies: 17
Views: 4043

PHP blog tut, post and comments fail insert [Solved]

Hi, i've been typing this blog in for weeks now. (i'm a bit slow) :shock: i've worked out a load of errors already - backticks, basic connection etc. (so +1 for not releasing the code) but i'm stumped. i keep scanning the code and watching the youtube vids, but my eyes don't seem to work anymore. in...