I guess people don't want to help because it's to do with advertising on a site. I'm sure one of the people who have viewed this thread must know what i need to do.
Nevermind, thanks anyway.
[/HTML][/QUOTE]...
User Profile
Collapse
-
Complete beginner needs help
I've been given the following code that should make a skyscraper advert appear on my website. The problem i'm having is that it's Javascript and i have never touched it before. I'm guessing i need to put the random number generator bit of the code in the header but i don't know where to put everything else.... If i put it in the <div> i've made to contain the skyscraper will it work? If not where do i put it?
Thanks in advance.... -
-
Display image if variable set to true
I'm making a website for a friend and am wondering about the best way to do something.
It's a flat site and he wants the ability to disable a banner advert without editing all the pages. I thought the best way to do this is have a file somewhere with a variable set to true then have a bit of php in the <div> on his site that will only display the ad if this variable is set to true.
Am i right in thinking i can... -
Hi, could you explain the more complicated ways of doing it? I've got it working how you suggested but it's not really what i'm after. It's printing the error messages but isn't showing them next to the input fields. Is it possible to get it to do this using the method you described?
Thanks for your help by the way.Leave a comment:
-
Hi, sorry i should have made myself clearer.
I've posted my code below, so far it's working, well it's uploading the file, renaming it and inserting the data from the form into the database. The problem i'm having is getting the script to stop if correct data is not entered into the form. Also, i'd like to get an error message to appear next to the relevant text boxes when incorrect information isn't entered. I'm aware this code isn't...Leave a comment:
-
The file is uploading actually and i've got it to generate a random name during upload using uniqid(). I then put both variables $mysite = www.mysite.com and $file_name into the insert query. It's working but it seems a pretty dirty way of doing it.
I'm now stuck on displaying an error message and stopping the whole script whenever an invalid bit of data is put into one of the input boxes.
I've written a REGEX that...Leave a comment:
-
PHP and mp3 track length
Hi, i'm currently writing a podcasting system for my website, i'm just stuck on getting the track length of mp3's that i upload to my server.
I've looked at the id3_get_tag() function but that doesn't return track length from what i can tell.
Also, would it be possible to do this during upload? The reason i ask is that i want the track length to be inserted into a database, and it would be very handy if i could get... -
PHP Data insert and image upload
Hi i was wondering if anyone could help.... I have made a little script that puts whatever a user enters into a mysql database. As well as the forms my script has an image input that uploads an image to my webserver. The thing i'm stuck on is getting the script to input the name of the file into a field in the database.
So basically the file will be uploaded and when the submit button is clicked a link to that image will be generated... -
Oo-er! Sorry about that, i'd edit it but it doesn't look like i can edit my post. If one of your moderators could edit it so that it conforms to your rules. I'm very sorry, i've just noticed the guidelines on the right hand side of my screen. I was in a bit of a rush to get a post up i didn't really pay much attention.
Sorry...Leave a comment:
-
PHP Form data database insert
I'm a newbie when it come to things php and i'm having a bit of trouble.
I'm trying to insert data from an html form into a mysql database and can't get it to work.
Just a few bits about my setup, i'm running an sql server locally, i've created the database, table and fields. I think what i'm missing is something that actually runs the sql query when i hit the submit button. Also, i'm aware i haven't made the data being... -
Image Hover problem in firefox
Hi, i'm pretty new to CSS and html so please go easy on me.
I'm trying to make a menu, the idea is that when you hover over the images in the menu they glow. To do this i have set up the following in css
***CSS Document***
a.wallpaper_but ton {background:url (images/wallpaper_conta iner.gif);}
a.wallpaper_but ton:hover {background:url (images/wallpaper_conta iner_on.gif);}
a.screenshot_bu tton...
No activity results to display
Show More
Leave a comment: