- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Hi, I would have a subdomain on domain A. Basicly I want to forward this to a particular page on domain B. But it's slightly complicated- I want to mask this so it looks like domain A hosts the actual page than domain B. Eg. Domain A http://something.domainA.com Domain B … |
|
Hello, I have done some filtering in an array using unset. The problem is that if I do a var_dump on the array after the filtering, then some of the keys are missing. Eg, key 2 isn't showing. So what I would like to do is to remap the keys … |
|
Hi, I've written some code in PHP, which I have tried converting to ASP.NET after looking at some examples. I'm stuck on a form processor, where I'm trying to check if some values have been filled in or not. Basicly I had a few issets() to do this in the … |
|
Hi, I have a table and I need to write a SQL to limit the resulset set based on 2 conditions, by IP and out of that resultset, remove the rows which have nothing in 2 columns. So I have tried this but it's not producing the expected results: SELECT … |
|
Hi, I'm wondering how to create a DIV dynamically. Basicly, I have two labels, and depending on which one is clicked, I want some code to appear inside an existing DIV. Obviously, I will need to do this using javascript and the onClick event. To make things even more complicated, … |
|
Hi, I'm trying to write a program using mysqli, so I have created a login page. I've tried looking for how to get an Insert statement ran using MySQLi, object orientated style. So it looks like my query isn't working but I don't know why so I wondered if someone … |
|
Hi, I have a website, where I want all pages to be secure using https:// , but I want a folder to be ignored so the files in that folder will be using regular http:// . Eg, http://wwww.example/com/admin but the rest will be https://www.example/com/page1 , https://www.example.com/page2 etc. I have htaccess … |
|
Hello all, I have an interesting bug in a calculator I have written. I've snipped the code done to something to get an idea of the calculator. So, if I clilck on Imperial, I can't seem to put input into my text boxes. However, if I press my TAB button … |
|
Hello all, I'm trying to get a calculation to appear in a DIV, in HTML. The calculation shows fine with the HTML, but my problem is that the result is showing straight away. I want it to display 5 seconds after the calculation is done (it's done in jquery). What … |
|
Hello, so I have a problem with some extra space between 2 div's that fill to 100%. Eg, they should be underneath each other. I don't know where this extra space came from, but it is underneath my nested list menu, and I thought that a div clearing the floats … |
|
Hi, I am making a horizontal menu system for a website. So, I have looked at examples of css menu's before I attempted my own. So, right now the menu is working top level-wise up until it spots my UL tag inside of my LI. My problem is that the … |
|
Hello, I want to make a simple website, and friendly urls would be a great step towards that. I have been trying this for 2 days without success. [url]www.mydomain.com/join[/url] redirects to [url]www.mydomain.com/index.php?path1=join[/url] [url]www.mydomain.com/forum[/url] redirects to [url]www.mydomain.com/index.php?path1=forum[/url] [url]www.mydomain.com/forum/getting-started[/url] redirects to [url]www.mydomain.com/index.php?path1=forum&path2=getting-started[/url] These directories do not actually exist. They are going to … |
|
Hi all, I have some content which I would like to limit to 9 per page in a table. I haven't done the table code yet, and rather concentrate on trying to get the filter working. When I try to enter the URL of index.php, where page=2 or without a … |
|
Greetings all, I'm trying to write a CMS for a photo gallery, and I worked out that the best way would be to upload the images to a directory and have a mysql table to store the relative location of the images for later use. I have 1 problem, which … |
|
Re:
create table book(bookid int ,title varchar(50),author varchar(50),book longblob); insert into book values(1,'c#','arun','c:/c#.pdf'); BUT this code is not working properly |
|
I'm trying to get 3 child div's to display inside a parent div. This is part of a navigation menu, where I'm using jQuery on the div's. So, I have the first child div, which when clicked on, the 2 child div's will appear. The parent div keeps control of … |
|
I'm trying to populate a select box with rows from a table, but it's not showing up properly. I've looked at the source of the page, and it looks like the option html is not being outputted. Anyone spot what's wrong? [CODE]<h1>Upload Picture</h1> <form action="gallery.php" method="post"> <label for="photo">Select file: </label><input … |
|
I'm trying to create a dynamic menu using jQuery, so I've built a basic one and I'm having problems making it look more impressive. At the moment, I can click on an item and the contents will be displayed above the rest of them. I want the content to slide … |
|
Hi, I have a hidden DIV, which is going to cover all of the screen as part of a lightbox. I wrote my code based on what I found at docs.jquery.com/Tutorials:Basic_Show_and_Hid . When I click on the link to run the lightbox, the div isn't showing even through the z-index … |
|
Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ … |
|
Hi All, I want to add a map to a webpage, with the intention for the user to be able to click anywhere on it and a small picture to be displayed where the user has clicked. I imagine that this will involve using jQuery, but I don't know how … |
|
Re:
I have an "input" page that allows someone to check a box which activates a datetime function, the page then returns to a display. My problem is that the input page can be relaoded and the box reticked, overwriting the displayed datetime. As the page reloads with the box showing … |
|
Hi all, I'm trying to develop a javascript to display a few images in a div. The plan is to get two pictures which will act as next/last image, but I'm stuck for running the script when the page loads, which is using the onLoad function in the body tag. … |
|
HI all, I'm making a site to host short length videos and would like to extract a frame from it when a video is uploaded. Does anyone know how to do this, or have any ideas what else I could do? Cheers, |
|
HI guys, just wondering how to get a customised page, depending on an id. Eg mysite.org/view?id=1, mysite.org/view?id=2 etc. How does that work? Is it possible to provide the whole url including the id so I can put a direct link to the page I want someone to view? Cheers, |
|
Hi everyone, I'm trying to write some PHP code to update a user's password. It is not updating and I can't spot what's wrong with my query (I have echo'ed it to the screen). [CODE]$sql="UPDATE $tbl_name set 'password'='$new_password' WHERE 'user'=$user;"; $result=mysql_query($sql);[/CODE] SQL statement [QUOTE]UPDATE user set 'password'='2' WHERE 'user'=test;[/QUOTE] What's … |
|
Hi everyone, basicly I have a CSV file which uses ^ as a delimiter. I have a textarea which is populated by the contents of the CSV file, and after editing it the user is redirected to the edit page. For some reason, everytime I save the file there is … |
|
HI All, I'm developing a security system for a CMS but it appears that my redirect does not work. I'm using sessions and I know that the session is being created since I did an echo on session_id(). [CODE]<?php if($count==1) { $_SESSION['loggedin']=1; print "logged in"; header('Location: edit.php'); print "no"; } … |
|
Hi All, I'm trying to replace all occurances of ' to ’, which is it's character code in HTML. How to I get str_place to search for '? [CODE]$data=str_replace("’","'",$data);[/CODE] Cheers, |
|
Hi All, I'm trying to write some code to read a CSV file and produce HTML from it. I'm using MAMP to develop the page, but no code at all will display in the browser. I would like the first line of the file to be the header, and then … |