Forum: ASP.NET Aug 19th, 2009 |
| Replies: 3 Views: 1,629 I'm working on another site and I'm running into this same problem again (I never got it to work before either).
In the Page_Load event, I tried doing your If Not IsPostBack suggestion for filling... |
Forum: PHP Aug 7th, 2008 |
| Replies: 18 Views: 1,909 Thanks! I had to change a few other things around but its finally working!!!
Thanks alot for your help everyone! |
Forum: PHP Aug 6th, 2008 |
| Replies: 18 Views: 1,909 I think there's still an issue somewhere. I tried that and it didn't add/change anything in the CSV file. |
Forum: PHP Aug 5th, 2008 |
| Replies: 18 Views: 1,909 Almost there! I'm getting stuck at writing the updated array back to the file. It ends up erasing everything in the CSV file. I'm sure its something simple.
Here's my code for the entire page if... |
Forum: PHP Aug 1st, 2008 |
| Replies: 18 Views: 1,909 How would I pull just one field from $dataholder?
So $dataholder[4] would pull that entire record, which might look like id;date;fname;lname. What if I wanted to pull and display fname? |
Forum: PHP Aug 1st, 2008 |
| Replies: 18 Views: 1,909 Thanks again for your help! I know I'm getting close.
I put the write section in a function with a submit button, so that won't get executed until I click on submit.
So the $dataholder array... |
Forum: PHP Jul 28th, 2008 |
| Replies: 18 Views: 1,909 *Bump*
Can anyone help me with this last part? I need to pull a single record from a CSV file that matches the ID, then be able to edit that data via text boxes, then submit it and have it update... |
Forum: PHP Jul 22nd, 2008 |
| Replies: 18 Views: 1,909 Could you please give me an example of how I could create an array with just the data that matches a specific ID?
Sorry for my ignorance in this whole thing. |
Forum: PHP Jul 21st, 2008 |
| Replies: 18 Views: 1,909 Thanks again for all your help. I have that page setup how I need it now thanks to your help. I'm able to pass the ID through the URL to a new page without a problem.
I know how to do this part... |
Forum: PHP Jul 18th, 2008 |
| Replies: 18 Views: 1,909 Thanks for that, it helps a little. Is there a way I can alter my existing code to be able to do this for just the ID (the first column in my table)?
Also this line
print... |
Forum: PHP Jul 17th, 2008 |
| Replies: 18 Views: 1,909 I'm sorry for my ignorance, but I'm fairly new to PHP, so let me explain what I'm trying to do.
I'm using a CSV file as my data source, which isn't a problem, I can read/write fine.
I'm using... |
Forum: ASP.NET Jul 14th, 2008 |
| Replies: 3 Views: 1,629 I have an Access database and I want to fill some text boxes with data from a table. I'm using the following method for an example:
Me.txtCompany.Text = dr.GetString(1)
That works great. ... |
Forum: ASP.NET Jun 12th, 2008 |
| Replies: 5 Views: 3,498 |
Forum: ASP.NET Jun 11th, 2008 |
| Replies: 5 Views: 3,498 Thanks for the reply. What I'm actually trying to do is to get it to bind to a GridView and set strSearch equal to a QueryString @search.
So in my Page_Load, I have:
Dim strSearch As String =... |
Forum: ASP.NET Jun 11th, 2008 |
| Replies: 5 Views: 3,498 Can someone help me convert this SQL SELECT statement to ASP.NET code (if possible):
SELECT * FROM tblCategory RIGHT JOIN tblInventory ON tblCategory.categoryID = tblInventory.categoryID
WHERE... |
Forum: ASP.NET Jun 10th, 2008 |
| Replies: 4 Views: 3,447 Thanks! That worked perfectly, I didn't even think about doing it that way for some reason. |
Forum: ASP.NET Jun 10th, 2008 |
| Replies: 4 Views: 3,447 Where would I put that and what would it replace?
Also, in my aspx file, would I leave it as: inventoryID='invID' or do I need to change how it calls invID?
Thanks! |
Forum: ASP.NET Jun 9th, 2008 |
| Replies: 4 Views: 3,447 I'm using ASP.NET and VB 2005. I'm trying to get a QueryString passed in the URL into a UserControl and I need to pass it as an integer because that is how it will be pulled from the database.
... |
Forum: PHP Nov 28th, 2007 |
| Replies: 2 Views: 516 I have a PHP script that is a combination of a purchased script and my own programming. It is a mess right now and not easy to work with at all.
Basically, the purchased script is one that will... |
Forum: Existing Scripts Aug 29th, 2007 |
| Replies: 0 Views: 2,301 This script could be in any language, as long as it works.
Here's what I have and what I need....
- A form page with a few check boxes
- There are a couple PDF files that are needed wich each... |
Forum: Existing Scripts Jul 25th, 2007 |
| Replies: 1 Views: 7,008 I need a simple login script that has the ability to redirect a user.
For example:
- I want to be able to protect certain pages so that a user has to login to access them (in this case they... |
Forum: IT Professionals' Lounge Jul 24th, 2007 |
| Replies: 2 Views: 1,953 A mod can delete this. I just saw the sticky about not posting support questions here. I re-posted this question under the PHP forum. |
Forum: PHP Jul 24th, 2007 |
| Replies: 0 Views: 1,490 I posted this question in the Webmasters Lounge, then I saw the sticky about not posting technical questions there, so I'm re-posting it here.
It doesn't necessarily have to be PHP, but that's... |
Forum: IT Professionals' Lounge Jul 24th, 2007 |
| Replies: 2 Views: 1,953 No ideas?
Is there any kind of variable that is passed during the login that I could use as a redirect?
For example, if I setup the Home Directory for the test user to /accounts/test/, is there... |
Forum: IT Professionals' Lounge Jul 23rd, 2007 |
| Replies: 2 Views: 1,953 I'm using IIS on Windows 2k3 R2.
What I'm wanting to do is create a folder called /accounts/ on the server that requires Integrated Windows Authentication. I can do that, no problem.
Then from... |
Forum: PHP Jul 17th, 2007 |
| Replies: 0 Views: 1,620 I have IIS setup on a Windows 2003 server configured with PHP.
There's a section of the website that requires a login, and I have it setup to integrate the login with a Windows account on the... |
Forum: PHP Feb 8th, 2007 |
| Replies: 3 Views: 5,570 How about this...
I've read where I can put the HTML target code in the <form> attribute to make it open a new window.
Would it be possible to have it do that, evaluate part of the inputs and... |
Forum: PHP Feb 8th, 2007 |
| Replies: 3 Views: 5,570 I have a script that has the code similar to the following:
if((isset($_POST['somefile']))
{
header("Location: http://www.url.com/somefile.pdf" );
}
This evaluates the selections of a... |
Forum: JavaScript / DHTML / AJAX Jan 30th, 2007 |
| Replies: 1 Views: 2,426 I have a form on my website that requires the user to enter data. They are all single line text boxes.
At the bottom of the form I have two buttons, one for Print and one for Submit. The Print... |
Forum: PHP Jan 4th, 2007 |
| Replies: 2 Views: 2,862 I'm using a PHP script called rwf_mail.php (http://www.robertswebforge.com/scripts/rwf_mail.shtml).
It creates a form that can be emailed. It consists of the php file and a plain html file to... |
Forum: PHP Nov 10th, 2006 |
| Replies: 3 Views: 8,943 How could I do it with javascript? |
Forum: PHP Nov 10th, 2006 |
| Replies: 3 Views: 8,943 I have the following part of code in a PHP file and I want to know if there's a way to make the URL open in a new window instead of the same window. It might be a dumb or easy question, but I'm not... |
Forum: C# May 18th, 2006 |
| Replies: 6 Views: 14,637 Thanks for your help :)
I'm glad I understand it. |
Forum: C# May 18th, 2006 |
| Replies: 6 Views: 14,637 using System;
public class PrimeNumbers
{
// Main method entry point
public static void Main()
{
// declare variables |
Forum: C# May 18th, 2006 |
| Replies: 6 Views: 14,637 I'm not sure I understand why I would need the bool variable IsPrime.
I think the way I have my If statement setup will work, its just not calculating the prime numbers correctly. |
Forum: C# May 17th, 2006 |
| Replies: 6 Views: 14,637 I read the sticky about helping with homework, so I hope this is ok.
I'm new to programming, and I think I have the logic correct, but it doesn't give me the correct answer.
We haven't learned... |
Forum: DaniWeb Community Feedback Dec 17th, 2004 |
| Replies: 12 Views: 4,285 What server do you use to run your own IRC server? |