dragonusthei
Members-
Posts
46 -
Joined
-
Last visited
Never
Everything posted by dragonusthei
-
http://www.niche-hair.co.uk/test.html is the file. The line in he box should be at the bottom making 4 corners.
-
Hello. I have a div that is the main content box. Inside this div i have 2 images in divs. Image and div 1 must sit at the top of the content box - No problems here. Image and div 2 must always sit at the bottom of the content box - heres the problem. I cannot get the image to stay at the bottom of the div regardless of the size of the content box. I have tryed postion abolsute with bottom set to 0 but this sends it to the bottom of the page and not the div. In the same way if i use margin-top: 100% it sends it to the bottom of the page as does padding. Solutions?
-
Hi. My site takes information from one database and puts it into another simply with SELECT * and INSERT INTO It works perfect Except! When the user enters a ' into the data when this happends it does not transfer the data it must throw out some kind of error. I have tryed addSlashes with no luck im depsrate to get this sorted! any one help me?
-
Hi, How could i make the following Term 1 "UNITED STATES" read "United States". Term 2 "SPAIN" read "Spain". Could any one help? I know it needs to like say all to lowercase then 1st to uppercase and then how do i get the second part of united states?
-
Im importing the following: "33996344","33996351","GB","GBR","UNITED KINGDOM" "50331648","69956103","US","USA","UNITED STATES" "69956104","69956111","BM","BMU","BERMUDA" "69956112","83886079","US","USA","UNITED STATES" "94585424","94585439","SE","SWE","SWEDEN" The Current PHP Reads: mysql_query("LOAD DATA LOCAL INFILE 'ip-to-country.csv' INTO TABLE ipcountry FIELDS TERMINATED BY ',' ENCLOSED BY '\"'"); However this is going wrong after the end of the line because theres no , how can i get round this?
-
Thanks for all the nice comments :D businessman332211 - its done with javascript in an external JS file feel free to take it from my source code.
-
any help
-
Hello, Does any one have either the code to do this or a class. Im looking to detect what keyword they typed into google to get to my webpage. Oviousely to get the string its easy enough just a simple $_server array but is there a class or code to parse this information into just the keyword? Thanks.
-
so do i just run that code in mysql?
-
there is no import button ...........
-
Ok so i have a .cvs file how do i make that go into my database?
-
Hi if you could post that it would be fantastic.
-
can you recommend any and is this gonna cost me?
-
But how would you do this on the fly? is there no simple way using http codes?
-
Hello Looking for a review on my site http://www.dog-toy.co.uk/ Worked very long and very hard on it [b]I would also like to thank all PHP freak members who helped by anwsering my many questions on here - was a massive help thank you.[/b]
-
Hello, How can i detect whitch country a user comes from? Thanks.
-
Hi how would i make this work? $db1 = mysql_connect(); $db1_select = mysql_select_db(); $db2 = mysql_connect(); $db2_select = mysql_select_db(); //code goes here
-
UPDATE order_numbers SET order_number - 3 doesnt work so how would i update a table and take a number away from a field.
-
Can you connect to two mysql databases at the same time?
dragonusthei replied to dragonusthei's topic in PHP Coding Help
Thank you :) -
How can i set the number to auto_increment from higher than 0? Say i want to start auto_increment from 200 insted of the default 0 how would i go about it?
-
what? how do i send post data without submiting it with a button etc?
-
Hey, Im setting something up where i need to handle post data then send it back to the server the bit im struggling on is i dont know how to send post data without submiting it through a form? this is how the thing needs to work outside server sends post data[no problem] -> my server sends post data back to there server [problem] so how do i send post data to a url without using a submit button how do i just send the post array to a server?
-
Thank you, changed them to ints and it works perfect :D Thanks guys
-
Im having a really hard time with a problem. I want my shopping cart to check if the items added to cart is greater than those currently in stock i ran the query in phpadmin to see why it wasnt working but [img]http://img237.imageshack.us/img237/7674/phpweirdny2.jpg[/img]