Search found 104 matches

by tito85
Mon Jul 12, 2010 6:17 am
Forum: PHP - Code
Topic: Registration From
Replies: 2
Views: 140

Registration From

Hi, I have a registration form that users use to register onto the website. A problem I have is that during the registrtion the user must select a password and then reconfirm that password. If for example the passwords does not match and the user click the register button, an error will be displayed...
by tito85
Sat Jul 10, 2010 8:28 am
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Re: Problem adding date

Yes the date will be inserted by an admin. And will be only inserted in the format of dd/mm/yyyy.

It seems to be working, therefore thanks very much for your help and time!!!

Will make some tests just to be sure.

Thanks again!
by tito85
Fri Jul 09, 2010 2:03 pm
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Re: Problem adding date

Hi,

Therefore why is sometimes working and sometimes not?
by tito85
Fri Jul 09, 2010 9:36 am
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Re: Problem adding date

I don't wish to use other language because I am sure that PHP can handle this.

I need some help to solve this issue but I don't wish to alter a lot of work. I am new to PHP and don't know anything about other languages.

However thanks for you comment.
by tito85
Fri Jul 09, 2010 6:28 am
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Re: Problem adding date

What I've noticed is that using some dates is working and using other dates is not. But there is no pattern.

Is there any way maybe to improve the code?

Thanks for any help.
by tito85
Thu Jul 08, 2010 1:50 pm
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Re: Problem adding date

No however I noticed that sometimes it is working and sometime no.

I really don't know why!
by tito85
Thu Jul 08, 2010 7:44 am
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Re: Problem adding date

Hi,

No, just no data is added.

Thanks
by tito85
Thu Jul 08, 2010 3:19 am
Forum: PHP - Code
Topic: Problem adding date
Replies: 12
Views: 217

Problem adding date

Hi I am using this code to a movie to my database. However I am having problems adding the dates of the MovieReleaseDate and DVDReleaseDate. Any help about what I have wrong please? Thanks <?php //Connecting with the Database require('dbconnect.php'); //Start up PHP session session_start(); include(...
by tito85
Sat Jul 03, 2010 3:08 pm
Forum: PHP - Code
Topic: Recommender System
Replies: 9
Views: 2630

Re: Recommender System

Hi,

Thanks it is working. Is it possible to not display the result that output the result of current vied movie?

Thanks for you help and time!
by tito85
Thu Jul 01, 2010 11:47 am
Forum: PHP - Code
Topic: Recommender System
Replies: 9
Views: 2630

Re: Recommender System

I am trying this now... But it seems like I am having a problem with this part "$genretype = $result4['GenreTypeID'];" <?php //Recommendation Section $select4 = "SELECT genretypes.*, genres.*, movies.* FROM movies INNER JOIN genres ON genres.MovieID = movies.MovieID INNER JOIN genrety...
by tito85
Thu Jul 01, 2010 10:55 am
Forum: PHP - Code
Topic: Recommender System
Replies: 9
Views: 2630

Re: Recommender System

I used a GROUP BY movies.MovieID and it seems to be working. However I thing that the "LIKE '%" . $movies2['GenreID'] . "%'" is not working properly. Because when I run the query in MySQL and I insert manually a GenreID it is working fine. But when running this on the website a l...
by tito85
Wed Jun 30, 2010 11:03 am
Forum: PHP - Code
Topic: Recommender System
Replies: 9
Views: 2630

Re: Recommender System

What I have is that since the recommander is based on the viewed movie and the recommender query is based on the current movie genre, if the current movie has more than one genre it is outputting same movies that have the same genre therefore outputting them more then one. Is there anything I can do...
by tito85
Wed Jun 30, 2010 2:55 am
Forum: PHP - Code
Topic: Recommender System
Replies: 9
Views: 2630

Recommender System

Hi, I am trying to make a simple query in a movie website to recommend movies similar to the one the user is viewing. The problem I am having is that the result of the reccommender is sometimes outputting a recommended movie more then ones in the same result. I don't know if it is a query problem or...
by tito85
Fri Jun 18, 2010 4:45 pm
Forum: PHP - Code
Topic: Multi Delete Query Problem
Replies: 5
Views: 477

Re: Multi Delete Query Problem

pytrin wrote:Use one query per table..
Thats what I did. But I am trying to improve the way of how these are deleted...
by tito85
Fri Jun 18, 2010 4:07 pm
Forum: PHP - Code
Topic: Multi Delete Query Problem
Replies: 5
Views: 477

Re: Multi Delete Query Problem

pytrin wrote:You can only delete from one table in a query.
Hi,

I found that it is possible to do a multiple delete. Maybe I understood wrong...?

However can you suggest another way of how can I do this please?

Thanks