Type: Posts; User:
So im trying to create a simple web form to calculate a score from raw data.
For example field A (numeric) : if number less than 100 return number 1, if 100-150 return number 2 and if...
Hey thanks for the reply i have read all those and this is what i have so far...
<p><b>Product:</b> <span id="Product_Name"></span><br />...
I have an XML feed of some products from a shop. Is there any way to make it so that if a link to 'product 1' (product_id=0001) is clicked then a div appears elsewhere on the page...
I have a fairly tricky problem:
I have an RSS feed of some products from a shop. Is there any way to make it so that if a link to 'product 1' (product_id=0001) is clicked then a div...
Still cant get this working. any help would be relly appreciated.
Hey thanks for your reply... can't get it to work though :-(
2 problems have arisen:
1) If you use:
hey thanks for the reply. Yep i guessed it would be something like that but im a bit of a JS nube so i have no idea how to write that function in this case... can u suggest how the code should look?...
Iím trying to do something a little tricky. Can anyone help:
I want to combine two functions of two different script with the click of a single link. The first script is mootools driven...
Im really stumped so if anyone is any good with jquery i could really use your help! Im trying to get elements to display only one at a time using 'toggle' (so that if a user clicks one...
This thread seems to have died a quiet death. Can anyone help revive it with a solution to this problem?
sorry, i don't know if that makes any sense, i mean im very happy to have an id column but the problem is the 'page_value's are already set so i want the script to redirect to the 'file_name' in the...
not really no. I can see why it is important to have an ID column as far as the database is concerned, but not to solve this problem.
I don't to search the database by ID column, i want to search...
I think i half understand you...
Im not typing cart3.jaspers-sensations.com/$page into my browser, im saying thats where it directs me to when i type...
no the public address is http://cart3.jaspers-sensations.com and the file redirect.php is actually product_info.php, i was just using 'mysite' and 'redirect.php' to make things easier to follow on...
Oh no sorry that was just a typo in my thread reply, i was typing it correctly in the browser as:
but still getting the error
ok ok i think im almost there, i don't know what i was doing with those tables this is the first time i've ever used php with mysql.
heres what i have now:
// Make a MySQL Connection ...
Thanks for the help everyone, i've read the tutorial and im trying but ive got a bit muddled up... this is what i've done so far, based on what people have been saying in this thread:
sorry, i mean
*what would the code be for that
ok, thanks very much for the help everyone,
I think i will give the database a go.... what would be the code be for that?
out of interest would endless if statements actually work? Or would it...
Thanks very much guys,
martswite you raise a good point... the number of pages will probably be in the order of a 1500-2000 pages. Is there a better way to do it with larger numbers of pages?
this is probably pretty simple but can anyone tell me how to divert to a different page depending on what suffix is on the url.
ie if the url is http://www.mysite.com/page.php?hello=1...
All working now thanks guys,
Sodbuster, thanks for that i had tried using the $result variable already, the problem was i didn't realise that it was returning an array so missed out the ""...
I gave that a go but no joy. It says "sorry, not in stock" even if the items are in stock.
It works! Yay!
Thanks so much guys. I used the xpath method in the end just coz it was the most simple one for me to understand :o
Is there some way that i can echo "item in stock" in green...