5,277 Posted Topics
I have seen several posts through the years with questions about navigation menus. Menus can be built using different approaches. This example is easy to build and simple to integrate with your site. The menu is built only using HTML and CSS so you don't have to have a lot … | |
Re: It sounds like while the instructor's focus here is on placing the values of the image source in an array and then access them via a loop of some sort. There are a variety of options here. Do you need to use plain JS or are you able to use … | |
Re: definately keep it as an integer. to add pritaeas suggestion, you can display it as a string by adding the leading zeros.. int num = 1; Label1.Text = String.Format("{0:00000000}", num); | |
Re: first, please present your code in format that is easier to read. I edited your post because it was very difficult to even look at your code. next, for the benefit of people trying to help you, provide some information and details, such as what error message do you see … | |
Re: if you get rid of the try..catch block, asp.net should provide you with the actual error. At the moment, you are seeing that message because an error is causing the catch block to execute. | |
Re: yes, .com files are/were executable files within the DOS environment. So what is your question? | |
Re: Yes, i'd use those two variables. THere are more if you want to try to collect other info.. http://php.net/manual/en/reserved.variables.server.php im not really php developer, more like a php noob, but this is how i basically collect the same info in asp.net | |
Re: You need to enclose your style values in quotes. <div style="property:value;property:value"> | |
Re: In addition, while that will fix the sytnax error, the other problem that you should address is that your approach exposes you to SQL injection. Use parameterized queries instead. | |
Re: @wojciech1 - nothing else better to do than post this nonsense? Having a good time trying to irritate other people? | |
![]() | Re: What do you mean supposedly? If you aren't sure how is anyone less going to know? You need to get a clear understanding of what the requirement is, then give it a try and for the issue(s) you run into, post your relevant code you are having trouble width. This … ![]() |
Re: Great reference DaveArmour. If the router does not support this, this alternative is to simply access the internal host for within the internal network using its internal IP instead of the external WAN IP or you'd have to get a router that supports this feature. Some do, and some don't … | |
Re: @sdtechi - regarding your comment about rubberman. First, you come across as being very rude and arrogant. Second, I guarantee you that rubberman has a lot more knowledge about networking that you do and I don't even know him personally. If you understood that these models are purely conceptual, you … | |
Re: The expense generaly depends on the level of reliability that is required. What you described can work to host a web page, but you arent factoring in other components such as load balancing, fault tolerance or disaster recovery. When the $3 fan in that system you described fails, it will … | |
Re: >THe whole "echo" stuff is very hard to maintain. PHP is not my thing, but I always wondered why plain HTML is being echo'd in PHP. I mean i could see the point if you were building a table or a list from a data source, but for "non-dynamic" data..??.. … | |
Re: I wouldnt recommend saving the zip code as an interger either. The information in a zip code isnt going to be used in any type of arithmetic. The zip just happens to be using numbers as its characters. I'd store the zip in char (if you are absolutely sure of … | |
Re: Take a look at your SQL query. Are you referencing a field in your SELECT statement that is not defined in the table(s) in your FROM clause? Maybe you are treating that email address as a field instead of a string? | |
When users interact with your web page and processes, it is important to provide them with continuous feedback. Without the feedback, a user is left wondering if you page is actually processing work, frozen, or just not working. This is especially true when incorporating Ajax requests that take more than … | |
Re: If you use a textbox control instead of an html input element, you dont have to use Request.Form. You can access the control directly... Instead of <input class="contact" type="text" name="your_name" /> You can use... <asp:TextBox ID="txtYourName" runat="server" CssClass="contact"></asp:TextBox> Then, you can access the value, by... txtYourName.Text | |
Re: Instead of using `display:inline` you can use `float:left`so you are able to adjust the size of the width. by using display:inline, you are essentially telling the browser not to treat the element as a block element. inline elements do not have a width. So, try a variation such as this... … | |
Re: The answer is provided by broj1 in the second post of this thread. You can save the value in a input type hidden element within the form. Once the form is posted you can pick up the value in your php script like you would for any other input element. | |
Re: What is a cascading textbox? Please create a better question. Have no idea what it is you are asking about. | |
Re: What are you going to do with the system when you are done with the tech preview? This multi-boot option is really a legacy approach to having more than one system installed on your computer. You should consider virtualization. Products like virtualBox or VMWare allow you to run virtual machines … | |
Re: have you reached out to their support area? How is anyone here going to know what the limation is based on your description of a "free hosting website". Maybe check their FAQ or support section for more information about what you can and cannot do on the db platform. | |
Re: Basic CSS to display the list horizontally... ul { list-style:none; } ul li { float:left; } | |
Re: it would be nice if that div had an ID, but since it can be selected by its class, and assuming there is no other div on the page with the same class, you can try this method... Basically get the children of the target div, without the text, then … | |
Re: the web.config file is used as a settings and configuration file typically for an ASP.NET web application, not php. However, take a look at this article on IIS.net which discusses .htaccess and web.config for php. http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfig | |
Re: Just to add regarding removing the white background, actually what I you suggest is that you create a new png file with a transparent layer, insert your picture and then use the editing tools to select the white background area, then cut it out. That will leave you with the … | |
Re: Every HTML element on the page should have its own unique id. | |
Re: What i have gotten used to doing for sites that may have some pages that will fill more than just the screen (vertically) is to just show the scroll bar for **all** pages. This way, no matter what page you visit, you will not have that "bumping" to the left … | |
| |
Re: Ads are a source of revenue. For example...On this website there are ads. If there were no ads, you would most likely be paying a fee to use the service. Someone's got to pay. Nothing's free in life. >2: they always show the ads 2 or 3 times in a … | |
Re: you need to provide your sample code and more details as to what you need assistance with. there are limitations with regards to applying styles to select elements. | |
Re: There are several examples all over the internet. if you just perform a quick search, you'd find them. here is one example... RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] | |
Re: Can you provide the relative CSS code as well? | |
Re: Just jumping here. Have no code to share at the moment but while reading, seems to me these suggestions aren't going to work since the page is being reloaded. The solution requires passing the value from page to page, correct? Without a page reload the diafols suggestion is very applicable. … | |
Re: If ticket_id is unique in that table, you'd only be able to update one record. If there are multiple records that have the same ticket_id, then yes, you'd update "all tickets at once". We cant possibly know how your application works, we dont know you your db schema so its … | |
Re: >it is leaving the last cell of the last record in the csv blank So the data could be seen in the gridview but when you run the export process, it is missing that last piece of information in the csv file? | |
Re: >virtual server 2012 Assuming you havent set this DC to sync with an external NTP server, are you sure the time is correct on the host machine that this VM is running on? | |
Re: Try using the DISTINCT keyword in your query.. for example.. SELECT DISTINCT * FROM .... |
The End.