- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
32 Posted Topics
Hey guys, I'm having a "great" pleasure of parsing XML in my ASP page, except I can't seem to figure it out what I'm doing wrong. I have tried a bunch of stuff and can't seem to read a simple xml doc. here is what my code looks like... [CODE]' … | |
Re: You need to loop through a series of texboxes, right? so something like this should work to get the value of your textboxes... [CODE]for(i=0; i<document.forms[0].elements.length; i++){ if(document.forms[0].elements[i].type == 'text') var elName = document.forms[0].elements[i].name; var elValue = document.forms[0].elements[i].value; // Display element name and value alert(elName +' = '+ elValue) } }[/CODE] | |
Re: Maybe I'm not understanding this corectly, but couldn't you duplicate the intranet (I asume it's static content) and re-design in a separate server (folder?) meanwhile the old intranet is up. Also why is that CGI and Perl are OK, but PHP not? Seems a bit wierd :-| | |
I'm looking for suggestions for a Client Intranet script, it would help if anyone heard or used anything for that purpose. The requirements are as such: [LIST] [*]Online Proofing/Approval system [*]Document Repository [*]Bug Tracking [*]Calendar [/LIST] I've googled for this and could not come up with one-fit-all solution, but I'm … | |
I have several Nintendo Wii themed domains for sale... buy-wii.info free-wii.info nintendo-wii-revolution.info wii-revolution.info wii-xbox-ps3.info wiigiveaway.info Anyone? | |
I'm building an office template in HTML, it contains a very basic HTML that requres a couple background images to tile. For reasons beyone me, as soon as I make the html into a template the background imge propery for my TD looses it's quotation marks and my bg is … | |
I've been doing web dev for the past few years and have gotten to a few languages, but not CF. To be honest it always interested me to know, but I just never had the will or the opportunity to learn it. Coming from a Java background I'm interested because … | |
I'm a webmaster for a dating site and was wondering if anyone has any good marketing ideas. There is a BUT, we have absolutely minimal budget. I'm a realist and I know that little can be done marketing wise w/o funds. I'm not saying that we're not willing to spend … | |
Re: What you have here is compiled code, which language it's written is hard to say just by looking at the code (maybe even impossible). One thing for sure it is a Microsoft product, most likely a .Net application. While Dot Net comes in many flavors it's most popular in VB.NET … | |
Re: I have done lots of work in both, and PHP is a much better choice! Why I think so... Saves you money - PHP + Linux are free, so when you host it somewhere the savings are passed down to you as opposed to ASP which required a Windows OS … | |
I'm not sure if this is even possible, but does anyone know how I might be able to trap Print Action. Would prefer a cross platform solution like Java or something, but it absolutely has to work on a Mac (Unix). What this is intended for is for a small … | |
Re: k... I'm not a RexEx guru either but I'm going to give it a shot, [B][COLOR=Blue]bolded blue text[/COLOR][/B] text will be subject of my explanation when regex expressions are used... your expression [1-9]|1[0-5] [COLOR=DarkOrange]Scenario A:[/COLOR] [b][COLOR=Blue][1-9][/COLOR][/b][COLOR=SlateGray]|1[0-5][/COLOR] means match any number 1 thru 9, pretty basic [COLOR=SlateGray][1-9][/COLOR][b][COLOR=Blue][SIZE=3]|[/SIZE][/COLOR][/b][COLOR=SlateGray]1[0-5][/COLOR] is a logical operator … | |
Re: Easy! just this header before before your output (can be HTML formated!) [PHP]header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); … | |
Re: This post needs to be in the JavaScript forum... But to give you a heads up it has to do with the way your mouseOver and MouseOut methods are done... [code] <!-- your code --> <a href="/store/listCategoriesAndProducts.asp?idCategory=39" onMouseOut="ci('Wild Side','/images/wildside.gif')" onMouseOver="ci('Wild Side','/images/wildSide1.gif')"><img src="/images/wildside.gif" name="sports" width="144" height="22"></a> <!-- my guess --> <a … | |
Re: One of the easiest ways of exporting and importing databases is to create a flat file, also known as a CSV. This is basically a database dump formatted as a delimited text file which then can be imported into pretty much any database. The result you want (creating a .dbf … | |
Re: For starters you need troubleshoot your variables... When my sql is not working properly I like to write it out to screen before it executes to see what are the actual values being passed. Response.Write(sql) and comment out the ' rs1.Open sql,con1 Also I'm not sure Request("myTextbox") is a proper … | |
Re: You almost have it, use "Key", or "Value" for datasource assignment and a DataReader to populate values from database query... [CODE]Dim linkrd = New HashTable() While reader.Read() linkrd.Add(reader.GetString(0), reader.GetString(1)) End While linklist.DataSource = linkrd linklist.DataTextField = "Value" linklist.DataValueField = "Key" linklist.DataBind()[/CODE] PS: I'm not a VB developer so if I … | |
Re: It sounds to me like you could try checking if it's a postback then execute proper code, because Page_Load will execute every time, no matter post back or a regular visit. [CODE]If Not Page.IsPostBack then ... do something End If[/CODE] | |
Re: None of the above... Scanner cannot be controlled by scripting language like PHP or JavaScript. Scanners rely on drivers in most cases written for a specific operating system which then allow graphical or other input program to interface with those drivers. In order to have a "custom" applications be able … | |
Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart … | |
Hi, Perhaps this thread does not bellong in the PHP forum, but since I'm working with PHP/Apache I'll try here first. I have setup subdomains on my site and realized that links are not relative to the wwwroot, but relative to subdomain root, I was wondering if anyone knows of … | |
Re: Hey Sean, You need to begin by learning the proper way of writing HTML, then the php syntax, then working on your logic... Just so you know no one here is going to write code for you, well I guess I can only speak for my self. But I'll get … | |
Re: try changing your line (28) from this... if (mysql_num_rows($query) = 1) { to this... if (mysql_num_rows($query) > 0) { or if you really need to make sure there is only one record returned ... if (mysql_num_rows($query) == 1) { | |
Re: Also read about PHP's error handling abilities... [url]http://aspn.activestate.com/ASPN/docs/PHP/features.error-handling.html[/url] | |
Re: It needs to be an absolute path to the file, so you need to use Server.MapPath() like so... Bitmap myBitmap3 = new Bitmap(Server.MapPath("~/images/logo.bmp")); (Assuming this is a web app) if this is not a web app, and you plan on moving this around, I suggest setting a key in the … | |
Re: Maybe concat syntax error :o THIS.... echo "<b>Sample</b>:"[COLOR=Red],[/COLOR]$Sample_Views[$num][COLOR=Red],[/COLOR]"</td>\n"; SHOULD BE THIS.... echo "<b>Sample</b>:"[COLOR=Green][B][SIZE=5].[/SIZE][/B][/COLOR]$Sample_Views[$num][COLOR=Green][B][SIZE=5].[/SIZE][/B][/COLOR]"</td>\n"; | |
Re: Read this article, it explains everything.... [URL]http://aspn.activestate.com/ASPN/docs/PHP/features.error-handling.html[/URL] | |
Re: I suggest NOT using .NET to style your form elements, but rather and external style sheet. ... using ids or classes to style your form elements. Firefox (I asume this is the Mozzila version your developing for) is much more capable when it comes to css if done according to … | |
Re: Ther are a couple of desktop appps that I've used over the years... My favorite is [URL=http://www.mysqlfront.de/]MySQL Front[/URL] the lite version is Free (Trail is a full featured app for 30 days I think) It's not expensive if you like it, only like $35. Also a combination of[URL=http://dev.mysql.com/downloads/query-browser/1.1.html]MySQL Query Browser[/URL] … | |
Re: Are you stroring content in the Database then? or doing some sort of calculion in the "cells"? | |
Wow a "neat" feature you have here Dani! I'm refering to the one whre you have to introduce your self before posting on your forums. Anyhow it looks like a great community to join, so Hi All! :D |
The End.