Search found 18 matches

by JuiceYum
Mon Oct 22, 2012 9:12 pm
Forum: PHP
Topic: Getting user_id using information from another column
Replies: 3
Views: 974

Re: Getting user_id using information from another column

Thanks but when I put that in and echo $res it just says Array but if I echo $user I get Resource error #5. I'm baffled.
by JuiceYum
Mon Oct 22, 2012 11:21 am
Forum: PHP
Topic: Getting user_id using information from another column
Replies: 3
Views: 974

Getting user_id using information from another column

Hey guys, I've been sitting her for hours trying to figure this out. I've Google'd like crazy as well but can't find an answer to my problem and that is that I can't get the information from another column using information from another column. This is how my table is set up. (Ignore the - as they a...
by JuiceYum
Sat Oct 20, 2012 7:30 am
Forum: Tutorials
Topic: Temporary Download link Error [ Solved ]
Replies: 0
Views: 17090

Temporary Download link Error [ Solved ]

I'm getting an error in my download.php for the temporary download tutorial. The error is Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Fileshare\download.php on line 10 You have an error in your SQL syntax; check the manual that corresponds to your MySQL...
by JuiceYum
Tue Mar 13, 2012 9:06 am
Forum: PHP
Topic: Storing Images in a Database with Title, Author, Tags, desc
Replies: 0
Views: 16893

Storing Images in a Database with Title, Author, Tags, desc

I need some help making a image uploader that when you upload you can type in a Description, tags and title. It will also need to be owned by a user and delete-able and editable by them and admins. Also the images need to have a like option so there is a front pge if you get me. It's like the follow...
by JuiceYum
Fri Feb 10, 2012 7:32 am
Forum: Tutorials
Topic: Email Activation
Replies: 1
Views: 624

Email Activation

I'm back again :P Anyway straight to the point I've got troubles with the email activation and they are that it's not going into the database, registering the user or redirecting to login.php. Heres my code: Index.php: <?php error_reporting(E_ALL); ini_set('display_errors', 1); include('core/init.in...
by JuiceYum
Fri Feb 10, 2012 3:18 am
Forum: Tutorials
Topic: Register and Login problem
Replies: 7
Views: 1773

Re: Register and Login problem

Thank you very much both times Temor. I remember changing it distinclty on my index for that but then I nedver bothered with login and just didn't realise xD The way you give help is great because so far your help has taught me both things and now they're stuck in my head :P
by JuiceYum
Fri Feb 10, 2012 2:43 am
Forum: Tutorials
Topic: Register and Login problem
Replies: 7
Views: 1773

Re: Register and Login problem

Heres all my code: I've been looking and searching everywhere for a fix D: Edit: username and password to login are: test Url: http://tumabackup.x10.mx/ login.php: <?php error_reporting(E_ALL); ini_set('display_errors', 1); include('core/init.inc.php'); $errors = array(); echo mysql_error(); if (iss...
by JuiceYum
Fri Feb 10, 2012 1:19 am
Forum: Tutorials
Topic: Register and Login problem
Replies: 7
Views: 1773

Re: Register and Login problem

Still not working :(
by JuiceYum
Thu Feb 09, 2012 2:01 pm
Forum: Tutorials
Topic: Register and Login problem
Replies: 7
Views: 1773

Register and Login problem

I have a problem where when I push submit on my login page it doesn't do anything :/ Here is all my code and a link to my website is here: http://tumabackup.x10.mx/ Login page: http://tumabackup.x10.mx/login.php/ Code for login.php: <?php error_reporting(E_ALL); ini_set('display_errors', 1); include...
by JuiceYum
Thu Feb 09, 2012 12:19 pm
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Re: Register and Login error

I think the problem is the user doesn't have permission to access the database? Do you know how to change this?
by JuiceYum
Thu Feb 09, 2012 11:59 am
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Re: Register and Login error

So I remade the database and still nothing. I also checked all the typing for everything after making the new database.
by JuiceYum
Thu Feb 09, 2012 11:52 am
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Re: Register and Login error

Alright so when I deleted my database I still get the same arror so I'm making a new database with a different name.
by JuiceYum
Thu Feb 09, 2012 11:44 am
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Re: Register and Login error

I can't find any typos :/
by JuiceYum
Thu Feb 09, 2012 11:29 am
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Re: Register and Login error

Alrighty done but now it's changed to:


No database selected
Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/tumaback/public_html/core/inc/users.inc.php on line 9
by JuiceYum
Thu Feb 09, 2012 11:24 am
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Re: Register and Login error

I got this:

FUNCTION COUNT does not exist
Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/tumaback/public_html/core/inc/users.inc.php on line 9
by JuiceYum
Thu Feb 09, 2012 11:08 am
Forum: PHP
Topic: Register and Login error
Replies: 10
Views: 3927

Register and Login error

I'm getting an error on my page to sign up. The link to my page is here: http://tumabackup.x10.mx/ (not sure if you can see it outside of Australia). The errors are: Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/tumaback/public_html/core/inc/users.inc.php on line...
by JuiceYum
Fri Jan 27, 2012 12:01 pm
Forum: SQL
Topic: Connection issue
Replies: 2
Views: 2827

Re: Connection issue

All fixed but now I have another issue and thats in init.inc.php. Full error: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'example_user'@'localhost' (using password: YES) in /Applications/MAMP/htdocs/blog/core/init.inc.php on line 3 My code in init.inc.php <?php mysql_c...
by JuiceYum
Fri Jan 27, 2012 8:19 am
Forum: SQL
Topic: Connection issue
Replies: 2
Views: 2827

Connection issue

For some reason when I try click on a file in my blog folder (I'm followinf your blog tutorial now) I get a HTTP Error 500. When I remove all the code within the PHP tags in init.inc.php it goes away and I can see like a test paragraph on the actual blog_list.php Here is my PHP code in init.inc.php ...