Search found 5 matches

by DonVito186
Mon Jun 06, 2011 9:20 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1361

Re: Code will not allow html to show.

element wrote:Line 25. Syntax error
remove 1 ) :lol:

[syntax=php]
$_SESSION['username'] = htmlentities($_POST['username']);
[/syntax]

That line was in the tutorial and it worked for him, but now its working for me. Thank you so very much!
by DonVito186
Mon Jun 06, 2011 9:06 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1361

Re: Code will not allow html to show.

My PHP works, i've been working on other pages for my website other than the login/register. Below is the code as is now. [syntax=php]<?php include('core/init.inc.php'); if (isset($_POST['username'], $_POST['password'], $_POST['repeat_password'])){ if (empty($_POST['username'])){ $error[] = 'The use...
by DonVito186
Mon Jun 06, 2011 8:37 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1361

Re: Code will not allow html to show.

I am not using Apache, but rather IIS7. And yes i did restart it and still nothing.
by DonVito186
Mon Jun 06, 2011 8:11 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1361

Re: Code will not allow html to show.

I fixed the miss-spelling that element pointed out. I also edited the ini file to display errors, and it doesnt say anything. I still get a blank screen.
by DonVito186
Mon Jun 06, 2011 4:00 pm
Forum: PHP
Topic: Code will not allow html to show.
Replies: 10
Views: 1361

Code will not allow html to show.

I followed a tutorial on youtube from betterphp about using MySQL and PHP to create a login and register system for a web site. I followed as the tutorial showed, up to part 3. The problem is when i have the php/sql code in the file, it wont let the html code show up on the screen. So all i get is a...