Forum: PHP May 6th, 2008 |
| Replies: 9 Views: 783 Ah i figured it out!
Pretty simple when i look at it, there was nothing wrng with my code, the size of the password field in the database was too small.
Obviously the SHA() function creates the... |
Forum: PHP May 6th, 2008 |
| Replies: 9 Views: 783 The MySQL query is not working, it seems like it would work though;
SELECT * FROM members WHERE email = 'test@test.com' AND password = SHA('test')
But it is not getting anything, it it because... |
Forum: PHP May 6th, 2008 |
| Replies: 9 Views: 783 I'm doing this for a school project at the moment, so its on their server, not my computer and of course, it being a school and all; their a bit anal about accessing configuration files, so i can't... |
Forum: PHP May 5th, 2008 |
| Replies: 9 Views: 783 Oh yea oops, man i feel stupid....
Well, it just doesn't log in, it just comes up with the error "The email address and password entered do not match those on file.". I'm not sure what the real... |
Forum: PHP May 5th, 2008 |
| Replies: 9 Views: 783 Hey guys, i've got a right headache from this piece of code at the moment, it's a simle login script and it just sin't working, the MySQL query looks correct to me and all the other stuff looks ok,... |
Forum: Getting Started and Choosing a Distro Apr 29th, 2008 |
| Replies: 4 Views: 2,326 I've got a working XP CD that came with my computer, anyway would that space really need to be as large as 7Gb or 2Gb?
I think that the small partition, the 63Mb one is an important one, but no... |
Forum: Getting Started and Choosing a Distro Apr 29th, 2008 |
| Replies: 4 Views: 2,326 Hey guys,
So i've been hearing all this hype about the new Ubunut 8.04 and i wanted to try it out. So i've treid the Live CD and i like it, very much. Now i want to dual boot XP and Hardy Heron.... |
Forum: JavaScript / DHTML / AJAX Apr 17th, 2008 |
| Replies: 10 Views: 5,108 Yea. Sorry i'm not very good at explaining things.
Right, firstly theres a text box in which the user can write the quantity.
Secondly theres a select box, displaying Category, which is populated... |
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 10 Views: 5,108 Hmmm, i've come up with a solution; instead of giving the select box option's a value of their ID, i have given them a value of their price instead, so to access the price all i need to do is:... |
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 10 Views: 5,108 ARRRGHH, i hate this thing. Right I've tried that, but it isn't working.
It's supposed to populate a textbox based on a select box. For example the select box is showing a couple of options, like... |
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 10 Views: 5,108 Ok, cheers.
Right i've done this:
function updateTotalPrice(){ //show the price of the sub category
//var amount = document.getElementById('amount');
var total =... |
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008 |
| Replies: 10 Views: 5,108 C'mon guys, there's gotta be a way! |
Forum: JavaScript / DHTML / AJAX Apr 15th, 2008 |
| Replies: 10 Views: 5,108 God i'm having a terrible time trying to do this. Does anyone know how to set a javascript variable as a query result from a MySQL database.
As an example, like this:
Set this query: ... |
Forum: JavaScript / DHTML / AJAX Apr 14th, 2008 |
| Replies: 3 Views: 2,496 Solved
I realised that i had forgotten to include a <body onload=fillCategory()> in the html!
Cheers for all the help |
Forum: JavaScript / DHTML / AJAX Apr 14th, 2008 |
| Replies: 3 Views: 2,496 Ok i've tried that, but it just doesn't want to work. It's wierd because this javascript worked in an external .js file with the PHP as well. I don't know whats happened. |
Forum: JavaScript / DHTML / AJAX Apr 14th, 2008 |
| Replies: 3 Views: 2,496 Hey guys,
I've heard that you can write php code when its combined with javascript, you just need to echo"" out all the javascript functions.
So i've done this and it is working.. to a degree.... |
Forum: JavaScript / DHTML / AJAX Apr 9th, 2008 |
| Replies: 1 Views: 4,905 Hey,
I have a problem that i have been working on for too long, how can i add rows and remove rows from a form dynamically using javascript?
What i need is two buttons, one to add a row and the... |
Forum: JavaScript / DHTML / AJAX Mar 9th, 2008 |
| Replies: 6 Views: 3,358 |
Forum: JavaScript / DHTML / AJAX Mar 7th, 2008 |
| Replies: 6 Views: 3,358 Yea i know, i purposely left them off, to save space.
What other problems have you seen with my code? |
Forum: JavaScript / DHTML / AJAX Mar 7th, 2008 |
| Replies: 6 Views: 3,358 Hey,
I'm trying to create a dynamic drop down box where the first drop down box populates the second drop down, but it isn't working. I have two tables;
pricelist with fields,
-id
-groupname... |
Forum: JavaScript / DHTML / AJAX Feb 25th, 2008 |
| Replies: 2 Views: 2,871 Hey, i've got a problem, i'm trying to make a drop down box but so that the first value chosen automatically updates the fields that you can choose in the second drop down menu.
Yes this may seem... |
Forum: PHP Dec 7th, 2007 |
| Replies: 2 Views: 5,455 Hey guys,
I'm trying to write a peice of code that basically checks if the input field have been submitted, it is an update code so I have designed it so that when the user clicks "update" another... |
Forum: PHP Nov 5th, 2007 |
| Replies: 11 Views: 2,783 Ok i've hidden the field, but it's still not working. To be honest i still don't really understand how this hidden field type will help me?
Its connecting to the database, its displaying all the... |
Forum: PHP Nov 3rd, 2007 |
| Replies: 11 Views: 2,783 Ok i've looked into the hidden field suggestion, but really i still don't have a clue as to what to do. Doesn't this only stop it from being shown in the web browser, does it do anything else?
... |
Forum: PHP Nov 2nd, 2007 |
| Replies: 11 Views: 2,783 What do you mean the hidden field way? Sorry i'm new to this. |
Forum: PHP Nov 1st, 2007 |
| Replies: 5 Views: 1,218 well., no it does, because it's worked on every other script that i've done, just not this one.
Could you give me details as to what i should do to correct it? |
Forum: PHP Nov 1st, 2007 |
| Replies: 5 Views: 1,218 No theres two different peices of code there that do the same thing, one without the require_once() and one with.
The one that has the require_once() has it at the start of the code after the
... |
Forum: PHP Nov 1st, 2007 |
| Replies: 5 Views: 1,218 Hey guys!
Right heres the problem, I have made this script that basically displays all the data from a table from MySQL; pricelist.
However it only displays the data when i have to manually... |
Forum: PHP Nov 1st, 2007 |
| Replies: 11 Views: 2,783 Why would that work, i've enabled short tags in the php.cfg file, so why would changing them let it work.
I'll give it a go, but all the stuff is at school, so i'll let you know how it went
... |
Forum: PHP Oct 31st, 2007 |
| Replies: 11 Views: 2,783 Hey, i'm new here and i need help.
I'm trying to write an update query so i can update mulitple items in a database, but it aint working..
Ive used the mysql_error() thingy, but it still does... |