Search found 21 matches

by lalamms
Wed Apr 20, 2011 1:14 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

lalamms wrote:
fugix wrote:and you still receive the same error?
yes, i'am
sorry for your brainstorming to help me..

just now, im just make a simple mistake, that im having 2 php file..
that is post.php and posts.php..
and i delete the posts.php..

the problem have clear away.. thanks to you fugix for helping me..
by lalamms
Wed Apr 20, 2011 1:10 pm
Forum: PHP - Code
Topic: please help me..
Replies: 18
Views: 1314

Re: please help me..

fugix wrote:yeah you cant really get rid of it...it not an important error.. just ignore it
its working now.. thanks..
by lalamms
Wed Apr 20, 2011 1:04 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

fugix wrote:and you still receive the same error?
yes, i'am
by lalamms
Wed Apr 20, 2011 1:01 pm
Forum: PHP - Code
Topic: br12n
Replies: 6
Views: 557

Re: br12n

fugix wrote:im not sure what youre asking..can you give more detail please?
sorry, its n12br
by lalamms
Wed Apr 20, 2011 12:56 pm
Forum: PHP - Code
Topic: br12n
Replies: 6
Views: 557

Re: br12n

fugix wrote:im not sure what youre asking..can you give more detail please?

here, watch this.. and the coding im using in myphp all beloging to this video..

http://www.youtube.com/watch?v=hEpgs8SG ... ure=relmfu
by lalamms
Wed Apr 20, 2011 12:53 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

fugix wrote:i mean in your php code...where i told you to take out the comma...can i see what the code looks like now please
sorry, im having diffuculty to understand englis.. huh.

$insert = mysql_query("INSERT INTO news VALUES('','$title','$body','$date')") or die (mysql_error());
by lalamms
Wed Apr 20, 2011 12:52 pm
Forum: PHP - Code
Topic: please help me..
Replies: 18
Views: 1314

Re: please help me..

fugix wrote:this....if ($_POST ['post']) should be.....if(isset($_POST['post']))
the result is still the same..
by lalamms
Wed Apr 20, 2011 12:50 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

fugix wrote:show me what your sql lines look like now
i've name my database project, and my table news...

the field is id with auto increment
title with varchar
body with text
and date with date format
by lalamms
Wed Apr 20, 2011 12:47 pm
Forum: PHP - Code
Topic: br12n
Replies: 6
Views: 557

br12n

how i can use this php tags?

br12n
by lalamms
Wed Apr 20, 2011 12:43 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

not really, when i click on submit button, this error will appear.. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1.. and this error still have.. "Notice: Undefined index: post in C:\xampp\htdocs...
by lalamms
Wed Apr 20, 2011 12:37 pm
Forum: PHP - Code
Topic: please help me..
Replies: 18
Views: 1314

Re: please help me..

Look at the error message. Notice: Undefined index: post Notice is the type of error . Undefined means something is not yet defined. In other words, something has not been assigned a value. In this case, "undefined" describes an index. An index (key) is a name that is used to look up a va...
by lalamms
Wed Apr 20, 2011 12:33 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

fugix wrote:after $date in your insert mysql query you have a , that is not supposed to be there..delete it
thanks fugix
by lalamms
Wed Apr 20, 2011 12:32 pm
Forum: PHP - Code
Topic: please help me..
Replies: 18
Views: 1314

Re: please help me..

what do you mean before is,

just turn off the error??
is it?
by lalamms
Wed Apr 20, 2011 12:26 pm
Forum: PHP - Code
Topic: please help me..
Replies: 18
Views: 1314

Re: please help me..

fugix wrote:yeah..that error is normal when you have a $_POST inside of an if statement...just ignore it and turn that error off so you wont see it anymore
can you give me examples of it??
sorry for noob question..
im new in php.
by lalamms
Wed Apr 20, 2011 12:24 pm
Forum: PHP - Code
Topic: php errors..
Replies: 17
Views: 1393

Re: php errors..

strafingmoose wrote:Use the PHP tags for your post. I won't count the lines...
can you give me some examples??

the line 17 should start with

if ($_POST ['post'])