Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
27% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #4K

41 Posted Topics

Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
788
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
94
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
183
Member Avatar for bsewell

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 …

Member Avatar for smantscheff
0
108
Member Avatar for bsewell

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, …

Member Avatar for Ganeshcse
0
6K
Member Avatar for bsewell

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 …

Member Avatar for LastMitch
0
193
Member Avatar for bsewell

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 …

Member Avatar for blocblue
0
93
Member Avatar for bsewell

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 …

0
124
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
153
Member Avatar for bsewell

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 …

Member Avatar for drjohn
0
128
Member Avatar for bsewell

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 …

Member Avatar for drjohn
0
280
Member Avatar for bsewell

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 …

0
147
Member Avatar for bsewell

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 …

Member Avatar for Mark_k
0
897
Member Avatar for bsewell

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 …

Member Avatar for pritaeas
0
350
Member Avatar for arunpatyal1987
Member Avatar for bsewell

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 …

Member Avatar for ko ko
0
73
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
279
Member Avatar for bsewell

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 …

Member Avatar for Airshow
0
122
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
95
Member Avatar for bsewell

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){ …

Member Avatar for hielo
0
151
Member Avatar for bsewell

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 …

0
56
Member Avatar for Varinor
Member Avatar for bsewell

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. …

Member Avatar for fxm
0
269
Member Avatar for bsewell

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,

Member Avatar for edup_pt
0
98
Member Avatar for bsewell

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,

Member Avatar for Graphix
0
87
Member Avatar for bsewell

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 …

Member Avatar for urtrivedi
0
79
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
147
Member Avatar for bsewell

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"; } …

Member Avatar for Virtualbase
0
284
Member Avatar for bsewell

Hi All, I'm trying to replace all occurances of ' to &rsquo;, which is it's character code in HTML. How to I get str_place to search for '? [CODE]$data=str_replace("&rsquo;","'",$data);[/CODE] Cheers,

Member Avatar for mschroeder
0
78
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
157
Member Avatar for bsewell

Hi all, I'm having a problems with a web page I'm making. I have a container div which has a child div inside it. I want a scroll bar in the child div, to keep consistency throughout other pages. [CODE]#videoclips-main { position:absolute; overflow: auto; top:0%; left:0%; width:100%; height:80%; z-index:1; } …

Member Avatar for MJ Pieterse
0
67
Member Avatar for bsewell

Hi all, I'm trying my first bit of jQuery code but am familiar with Java programming. I'm trying to create a function that loads a div with an image in it, which will fade in and then after 4 seconds move onto the next image. I want it to create …

Member Avatar for rajarajan2017
0
236
Member Avatar for Heba91

Use 2 for loops for this. [CODE] int height=0; for(int i=0;i<height;i++) { for(int j:0;j<height;j++) { } } [/CODE] That's a skeleton of what you need to do. It sounds like a homework assignment so fill in the blanks and it should work

Member Avatar for bsewell
0
122
Member Avatar for bsewell

Hi All, I have a question. I have a div, which has an image slideshow using innerfade. I have another div which overlaps this div which contain some text. Basicly, the slideshow is working but I want it to be in the background so that I will be able to …

Member Avatar for bsewell
0
42
Member Avatar for bsewell

Hi All, I'm developing a website and one page is invalid according to the w3 Validator. It is a link to Multimap, to give directions to the company's office. [QUOTE]Validation Output: 9 Errors Line 43, Column 53: cannot generate system identifier for general entity "countryCode" …tp://www.multimap.com/maps/?qs=W9+2BE&countryCode=GB#map=51.52306,-0.19973|17|… ✉ An entity reference …

Member Avatar for almostbob
0
135
Member Avatar for bsewell

Hi all, I wondered if this was possible. i have a div, which I would like some images to rotate as the background-image so it is a slideshow. In additional, I want a fade in/out effect between the image transition. Basicly, what I'm asking is, how do I do it? …

Member Avatar for pritaeas
0
175
Member Avatar for bsewell

Hi all, I have a div where I would like to move the text inside it away from the border. A quick google found that I should use padding-left. However, it doesn't seem to work (i've tried Safari and Firefox in case it was a browser issue). What have I …

Member Avatar for bsewell
0
2K
Member Avatar for bsewell

Hi all, I'm developing a website, where the company would like 2 images to appear on the right side of the footer. I have no idea why float:right; won't work when it does for their banner. Can anyone tell me what to do to fix it? [CODE]#footer { position:absolute; bottom:0%; …

Member Avatar for almostbob
0
57
Member Avatar for bsewell

Hi all, I'm writing a card game but I can't seem to set the cards in the deck. I'm getting a runtime exception error, whether I first try to set the suit or the rank. Here's my code: Card.java [CODE]public class Card { private String suit; private int rank; Card() …

Member Avatar for armsracer
0
128
Member Avatar for bsewell

Hi all, I'm trying to populate a datagrid as part of a search function for my application. I've tried running my code, which gets executed with no errors but the contents ain't showing up in the datagrid. Please fix this for me :) [CODE]Private Sub Search_Click() Dim dbuser As String, …

Member Avatar for AndreRet
0
162
Member Avatar for bsewell

Hi, I'm developing a VB6 application connecting to a MySQL database. I'm getting run-time error 3001: arguments are of the wrong type, are out of an acceptable range, or are in conflict of each other. I'm using the ODBC driver from MySQL. I would appreciate if anyone could spot where …

Member Avatar for AndreRet
0
665

The End.