No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Ticketin administrator and part time web designer
- Interests
- Lots of Sci-fi and lots of comedy
16 Posted Topics
Re: You've already connected to the database before initiating the 'if' statement so why are you connecting again if number!=0?? | |
Hi Guys, Not sure if this is a php or sql problem but i keep getting the following error when trying to update a row using php and 'UPDATE': ERROR:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right … | |
I am currently using a anylinkmenu in my website but for some reason it is not showing in IE9. The menu works and you can click on the links but the images aren't displaying. Does anybody know if there is an image display compatibility issue in IE9 please. Best Regards, … | |
Hi all, My problem is i've got this form that submits fine but when i try to redirect it i keep getting an error. I want to redirect to another page so the user can't refresh the page and submit the form multiple of times. I've been using 'header' to … | |
Hi all, An issue i've never come across before. I've got a picture as a background which i declare in my css file. The div (wrapper) is 960px wide and 100px height, the image is to sit at the top left so no real placement needed. I then have another … | |
I keep getting an object expected error at the start of my <body> I've set a form to value="Accountants" and <body onload="showindex()"> in an attempt to automatically submit this value to a js file whenever the page loads. My aim is to have dozens of html pages all using the … | |
Re: try something like this is your .js file. You'll need to give your form the name 'myForm' or whatever you like [CODE]var var1 = document.myForm.txt1.value; var url = "http://127.0.0.1/proj1/gethint.php"; url+="?q="+var1; url+="&sid="+Math.random(); xmlHttp.open("GET", url, true); xmlHttp.send(null);[/CODE] | |
Re: forgive my ignorance but did you declare '$s' in the register.php file? | |
Hiya All, Not sure if i should be putting thi up on the SQL section but i think the problem lies in the PHP part of my code. This is what i've got. I'm counting the number of times a category shows up in my database returning the name of … | |
Hello, I am currently working on a function that will allow the user to search for an event by date and category. I've been using the w3schools exercise as an example but i wish to pass 2 pieces of data instead of one and am not sure how to do … | |
Hi there, I'm trying to compare 2 arrays at the moment. There are 2 tables, the first (Category) holds a list of categories, e.g. Electricians, Plumbers, Builders and each has an ID number. The second table (Company) is a list of companies e.g. JonTheElectrician, GaryThePlumber and of course BobTheBuilder. Each … | |
Hi there, I've created a page that uses 2 seperate functions for passing variables. The first runs when the page loads and requests categories from a database to fill a dropdown box. The second function sends a date value and the contents of the select from the dropdown box to … | |
Hi all, Working on the w3schools example for the autocomplete but the 'suggestions' that display are links to other pages. All i want is for the user to be able to select one and that value to generate in the box for submitting a database query. So just need to … | |
Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the … | |
Hello, I'm returning results from a database but they are showing as yyyy/mm/dd I would like them to display as dd/mm/yyyy is there a simple way to format $newrow5['StartDate'] to do this. while ($newrow5 = mysql_fetch_array($result5)) { echo "Starts on the: {$newrow5['StartDate']}"; } thanks in advance, Tom. | |
Re: anyone know how you would pass two variables instead of jus the one e.g. to allow the user to search by 'date' and 'name' thx |
The End.