Showing results 1 to 37 of 37
Search took 0.01 seconds.
Posts Made By: mindfrost82
Forum: PHP Aug 7th, 2008
Replies: 18
Views: 1,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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 would...
Forum: PHP Jul 28th, 2008
Replies: 18
Views: 1,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

*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: ASP.NET Jul 22nd, 2008
Replies: 2
Views: 848
Posted By mindfrost82
Forum: PHP Jul 22nd, 2008
Replies: 18
Views: 1,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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 in...
Forum: PHP Jul 18th, 2008
Replies: 18
Views: 1,208
Posted By mindfrost82
Re: Create a link in a table read from a CSV file and pass a variable

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,208
Posted By mindfrost82
Create a link in a table read from a CSV file and pass a variable

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 this...
Forum: ASP.NET Jul 14th, 2008
Replies: 2
Views: 848
Posted By mindfrost82
Fill Textbox w/ DataReader from Access and allowing user's to update

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. I have...
Forum: ASP.NET Jun 12th, 2008
Replies: 5
Views: 1,255
Posted By mindfrost82
Forum: ASP.NET Jun 11th, 2008
Replies: 5
Views: 1,255
Posted By mindfrost82
Re: How to make this SQL SELECT statement work in ASP.NET

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: 1,255
Posted By mindfrost82
How to make this SQL SELECT statement work in ASP.NET

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: 1,372
Posted By mindfrost82
Re: Pass QueryString as Integer to UserControl

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: 1,372
Posted By mindfrost82
Re: Pass QueryString as Integer to UserControl

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: 1,372
Posted By mindfrost82
Pass QueryString as Integer to UserControl

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.

Here...
Forum: PHP Nov 28th, 2007
Replies: 1
Views: 331
Posted By mindfrost82
Question Better way to program these if/else statements?

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: 1,728
Posted By mindfrost82
Looking for script to merge PDF documents based on forms

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 check...
Forum: Existing Scripts Jul 25th, 2007
Replies: 1
Views: 4,894
Posted By mindfrost82
PHP/MySQL User authentication & redirection

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 wouldn't...
Forum: IT Professionals' Lounge Jul 24th, 2007
Replies: 2
Views: 1,458
Posted By mindfrost82
Re: IIS Directory Listing Hiding Unauthorized Folders?

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,091
Posted By mindfrost82
IIS Integrated Auth. & Redirect upon login

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 what...
Forum: IT Professionals' Lounge Jul 24th, 2007
Replies: 2
Views: 1,458
Posted By mindfrost82
Re: IIS Directory Listing Hiding Unauthorized Folders?

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,458
Posted By mindfrost82
IIS Directory Listing Hiding Unauthorized Folders?

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,126
Posted By mindfrost82
PHP / IIS / Integrated login w/ home directories

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: 3,613
Posted By mindfrost82
Re: Opening Header in a new window?

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: 3,613
Posted By mindfrost82
Opening Header in a new window?

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 form and...
Forum: JavaScript / DHTML / AJAX Jan 30th, 2007
Replies: 1
Views: 1,825
Posted By mindfrost82
Stop printing boxes around forms?

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,046
Posted By mindfrost82
Don't display an empty form field?

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: 6,111
Posted By mindfrost82
Re: Header Location in new window?

How could I do it with javascript?
Forum: PHP Nov 10th, 2006
Replies: 3
Views: 6,111
Posted By mindfrost82
Header Location in new window?

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: 11,697
Posted By mindfrost82
Re: Average of prime number between 1 & 100

Thanks for your help :)

I'm glad I understand it.
Forum: C# May 18th, 2006
Replies: 6
Views: 11,697
Posted By mindfrost82
Re: Average of prime number between 1 & 100

using System;

public class PrimeNumbers

{
// Main method entry point
public static void Main()

{
// declare variables
Forum: C# May 18th, 2006
Replies: 6
Views: 11,697
Posted By mindfrost82
Re: Average of prime number between 1 & 100

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: 11,697
Posted By mindfrost82
Average of prime number between 1 & 100

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: 3,584
Posted By mindfrost82
Re: techtalk IRC channel?

What server do you use to run your own IRC server?
Showing results 1 to 37 of 37

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:09 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC