80 Posted Topics
Hi all, I just need to delete .jpg form the end of a variable stored like this: $name = $_POST["name"]; Thanks :D Max ps echo stristr($name, '.', true); // As of PHP 5.3.0, outputs *content of string BEFORE the first full stop* dosnt work. im guessing its because my php … | |
Hi all =] I have a php script which gets the file name of every .jpg file in a folder and then writes the <img>, and a form. The script uses a string called "galleryarray" to store the filename, which is then called into a hidden field so when the … | |
Hey, Im just wondering how i can get something like this to work: [CODE] $tablename = $_POST['tablename']; mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL)) [/CODE] At the moment its coming up with an error because I am using a variable for the table name instead of inputting it … | |
Hi all I guess this post kind of vaguely slightly possibly fits into this forum sorry :P but I know daniweb is very reliable for help so i thought id post on here. Basically I need to register a website that I had registered this time last year, but a … | |
Hey guys, I have a script calling the value from a hidden field from the previous page and then writing it to the page. What code would I have to use to say: IF hidden field value from the previous page is empty then the hidden field value should be … | |
Hey, Im designing a website hosting business's website and have a relatively simple whois script which when you enter the website, it checks if it is available then returns some text in a span just under the form. At the moment the user types in any domain type (.co.uk / … | |
Hi guys, Wasn't too sure which forum to put this in as im not sure what kind of script would be used, but this is what I want to be able to do: Have some kind of script that makes any external link on my website open the link and … | |
Hi guys, I did a quick tutorial on the internet on using php and mysql. It is my first ever time using it so forgive me if im being a bit of a "NOOB". anyways ill post the script below and can you give me a few pointers about where … | |
Hi all, I need to know how to be able to make a div box with a fixed width and no horizontal scrollbar, and stretchable height with vertical scrollbar. It should be quite a simple thing to do but i cant do it for some reason. Thanks guys =] Max | |
Hi all! I need to know how to [B]repeat a javascript code snippet[/B], until the [B]table's row is full[/B] - so [B]without stretching[/B] it. The row is inside the middle column of an 80% width table, made up of 3 columns, one for a left side graphic, the middle column … | |
Hi, How do i check for a cookie using javascript, and then say if the cookie is found, write "this" or if the cookie is not found, write "that"? Thanks, Max Mumford. ![]() | |
Hi, Im making a website which has a login system where if the user is logged in (cookie found) it displays extra buttons in the menu, and i was thinking we could use a document.write script which uses a function that checks if the logged in cookie is present or … | |
Hi, How do I change the value for a field in my form when sombody clicks in that field? for example i have a field for "name" and it should say "name" in it, but when you click in it the value changes to nothing. Thanks, Max Mumford. | |
Hi, How do I make it so when I click a link on page A, it opens page B in a new window, and page A goes to a specified page? This is the page: [URL]http://www.swmassive.co.uk/forums.html[/URL] I want to make it so when the user clicks view, the forums page … | |
hi all, I have a special type of gallery on my website ([URL]http://www.grafax.co.uk/newtest/gallery[/URL]) which uses a javascript file to make a div tag hover over the gallery with the image inside of it. however, the page shows before the javascript file is loaded, and so displays the image in the … | |
Hi all, how, using asp, can i make a form menu change the style sheet loaded, when it is clicked on, then refresh and page, and create a cookie which tells the browser which style sheet to load for that user when they next enter the website? Thanks, Max. | |
Re: Image ready is pretty much photoshop, just with a few extra gajets. One of these is the animation pallete, which gives you the option to make the frames for the anim using the different layers in your picture. I personally would'nt spend too much upgrading to have image ready, when … | |
Hi all, I have some script which doesnt work at all in firefox or other browsers, and i was wondering how to make a browser checker script which checked if the user was using IE, and if they are, show the script. If not, write somthing else for example "Go … | |
Hi all, I have some script which doesnt work at all in firefox or other browsers, and i was wondering how to make a browser checker script which checked if the user was using IE, and if they are, show the script. If not, write somthing else for example "Go … | |
Hi all, How do I make a link with the class of "externallink" open in a new window using css? Here is my current style for "externallink" class: [code]a.externallink:link { color: #FF99FF; text-decoration: none; }[/code] Thanks!! Max. :cheesy: | |
Hi all, i need a password script for one page which takes you to the next page. I dont have access to a database so i need it to be stored either in a txt filfe or in the script itself. Thanks!! Max :mrgreen: | |
Hi all, im trying to make a script which sends the link of the page to a specified email address. I have made it work by using a script from an external file, but when i call up the server variable request url, ht gets the wrong one, so i … | |
hi all, My website host does not support changing perl file permissions online through an ftp program or any other method, and i need to change my .pl file to have different permissions in order for them to work. how do i change my file's permissions to chmod 755 or … | |
Hi all, I need to have a semi transparent picture hovering over a windows media player plugin video. How do i do this? Html preferably... Thanks, Max | |
What DOCTYPE do i need to use this script? go on this link to find it: [URL]http://www.dynamicdrive.com/style/csslibrary/item/suckertree-menu-horizontal/P30/[/URL] Thanks! Max | |
Hi all, I have a menu on my website and i got the code from a website called dynamicdrive.com, and the menu is based on css and a bit of javascript, with the menu content consisting of list values. The initial border for the menu is black, so that little … | |
Hi all, I have set up my website with tables, with columns on the left, then a center with the main content in, then another table will the content on the right. Whenever i have a lot of text in the center, the columns on the left go bigger, therefor … | |
hi all!! This is my text only back-up menu at the bottom of my page, but the colours from my origional external css sheet look bad on its background, so how do i make them a different colour? Here is the code for the hyperlink: [code]<tr> <td> </td> <td height="20" class="stylesheet3" … | |
Hi all. At the moment i am in the middle of a move between awful frontpage and magnificent dreamweaver mx. However, one good thing about frontpage is their easy peasy form maker. I dont know how to make a form on dreamweaver which emails to my website's email address without … |
The End.