5,277 Posted Topics

Member Avatar for JorgeM

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 …

5
449
Member Avatar for chichi9

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 …

Member Avatar for DaveAmour
0
323
Member Avatar for coder91

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);

Member Avatar for coder91
0
639
Member Avatar for phoenix254

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 …

Member Avatar for phoenix254
-1
201
Member Avatar for get2tk

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.

Member Avatar for DaveAmour
0
1K
Member Avatar for XEN0

yes, .com files are/were executable files within the DOS environment. So what is your question?

Member Avatar for rubberman
0
143
Member Avatar for mattyd

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

Member Avatar for jj.dcruz
0
1K
Member Avatar for Shaziahussain

You need to enclose your style values in quotes. <div style="property:value;property:value">

Member Avatar for JorgeM
0
143
Member Avatar for muhamadtaufiq.zaki

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.

Member Avatar for Stuugie
0
242
Member Avatar for DaveAmour

@wojciech1 - nothing else better to do than post this nonsense? Having a good time trying to irritate other people?

Member Avatar for DaveAmour
0
448
Member Avatar for Andrew_23

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 …

Member Avatar for Andrew_23
0
158
Member Avatar for rohitha01

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 …

Member Avatar for DaveAmour
0
351
Member Avatar for daniwebfan2009
Member Avatar for sdtechi

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

Member Avatar for JorgeM
0
275
Member Avatar for Wojciech_1

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 …

Member Avatar for Wojciech_1
-4
214
Member Avatar for mgreiner28

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

Member Avatar for mgreiner28
0
333
Member Avatar for Logesh Waran
Member Avatar for mattyd

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 …

Member Avatar for mattyd
0
220
Member Avatar for vinod.p

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?

Member Avatar for JorgeM
0
70
Member Avatar for JorgeM

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 …

2
1K
Member Avatar for Blueie

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

Member Avatar for Blueie
0
157
Member Avatar for tqmd1

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

Member Avatar for JorgeM
0
196
Member Avatar for sandeep.tete

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.

Member Avatar for JorgeM
0
6K
Member Avatar for bhavyalatha

What is a cascading textbox? Please create a better question. Have no idea what it is you are asking about.

Member Avatar for JorgeM
0
87
Member Avatar for zalax

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 …

Member Avatar for Little Relhok1
0
730
Member Avatar for Danish_4

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.

Member Avatar for JorgeM
0
136
Member Avatar for Khan2014

Basic CSS to display the list horizontally... ul { list-style:none; } ul li { float:left; }

Member Avatar for Khan2014
0
2K
Member Avatar for daz_omega

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 …

Member Avatar for gentlemedia
0
399
Member Avatar for rpv_sen

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

Member Avatar for rpv_sen
0
10K
Member Avatar for HeavenLisbeth
Member Avatar for SunTecOSS
Member Avatar for tampachris
Member Avatar for Shaziahussain

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 …

Member Avatar for JorgeM
0
154
Member Avatar for SoferSurfa
Member Avatar for mattyd

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 …

Member Avatar for showman13
0
240
Member Avatar for TechnoScore
Member Avatar for djuiceshamu
Member Avatar for RobertHDD

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 …

Member Avatar for Reverend Jim
1
364
Member Avatar for vinay123012
Member Avatar for sriraag

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.

Member Avatar for sriraag
0
118
Member Avatar for cristian.stilpeanu.1_1

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]

Member Avatar for cristian.stilpeanu.1_1
0
195
Member Avatar for Xsmael
Member Avatar for mattyd
Member Avatar for mattyd

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

Member Avatar for mattyd
0
1K
Member Avatar for Wojciech_1
Member Avatar for Stefce

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 …

Member Avatar for JorgeM
0
281
Member Avatar for coder91

>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?

Member Avatar for coder91
0
112
Member Avatar for kwesi Yaro

>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?

Member Avatar for kwesi Yaro
0
4K
Member Avatar for Kenneth_3
Member Avatar for boney

Try using the DISTINCT keyword in your query.. for example.. SELECT DISTINCT * FROM ....

Member Avatar for JorgeM
0
157

The End.