Forum: PHP 1 Day Ago |
| Replies: 5 Views: 137 when i hit submit it just refreshes the page |
Forum: PHP 1 Day Ago |
| Replies: 5 Views: 137 I have an html form when i submit it it goes to a php page. i want to change the action so the php execution happens on the same page.
<form method ="POST" action = "user.php">
<table... |
Forum: PHP 2 Days Ago |
| Replies: 4 Views: 137 my else statement is not executing it returns a black page.
while($results = mysql_fetch_array($user_name))
{
if ($results['email'] == $Entered_UserName && $results['password'] ==... |
Forum: PHP 5 Days Ago |
| Replies: 3 Views: 145 Why doesnt this code work. I keep getting false even when i type in the correct username and password
$user_name = mysql_query("SELECT * FROM users WHERE username =
... |
Forum: PHP 11 Days Ago |
| Replies: 1 Views: 117 i am writing a php program to read simplexml file.
i get the following error
Parse error: syntax error, unexpected T_STRING in /Applications/MAMP/htdocs/TestSite/sqlconnectstring.xml on line 1
... |
Forum: OS X 11 Days Ago |
| Replies: 1 Views: 274 I have a macbook pro running snow. I cant get it to go to sleep in 32bit when i boot it up in 64bit it goes to sleep without a problem. I reinstalled the os and now it will not go to sleep in... |
Forum: PHP 12 Days Ago |
| Replies: 2 Views: 184 i have a class called sqlConn.php within the same directory as hiuser.php
how do i call that class.
include('sql_Conn.php');
$sql = new sql_Conn;
does not work i get |
Forum: PHP 12 Days Ago |
| Replies: 3 Views: 170 nevermind i fixed it i didnt fully understand your explanation above. but now i do and it worked |
Forum: PHP 12 Days Ago |
| Replies: 3 Views: 170 when i print this line i get the correct value but when i see it on the text box it shows up as "<?php echo204;?>" which 204 is the value i want to display.
<?php
if($check1 !== 'unchecked')... |
Forum: PHP 12 Days Ago |
| Replies: 3 Views: 170 I have a form that get processed by a php page and depending on what the user decides it will get summited to another php form. But the <input type="text" name="fname" value="<?php 'echo... |
Forum: Windows Servers and IIS Jan 17th, 2009 |
| Replies: 5 Views: 1,136 i am the admin. i just cant figure out which setting to use cause none of the diffrent authentications work. |
Forum: Windows Servers and IIS Jan 15th, 2009 |
| Replies: 5 Views: 1,136 mac 10.4
exchange 2003 on a small bussiness server |
Forum: Windows Servers and IIS Jan 14th, 2009 |
| Replies: 5 Views: 1,136 i am trying to setup mac mail to work with exchange. i am able to recieve but not send. does anyone know the correct smtp settings for an exchange server? |
Forum: OS X Jan 14th, 2009 |
| Replies: 2 Views: 1,445 I am having dificulty setting up mac mail with an ms exchange server. i am able to recieve emails with no problem but i cant send. does anyone know how to setup the smtp part with an exchange... |
Forum: Java Dec 9th, 2008 |
| Replies: 5 Views: 580 it works with 1 part, but when i put it into an arraylist, it wont compile
for (int i = 0; i<FileList.size(); i++)
{
... |
Forum: Java Dec 9th, 2008 |
| Replies: 5 Views: 580 String.split(" ") doesnt work. what would the syntax for the tab deliminater be? |
Forum: Java Dec 9th, 2008 |
| Replies: 5 Views: 580 I have a tab delimilated txt file. how can i read only the second part of the file. ex
10.0.0.0 hostname date
i want to read in the hostname only
what function can i use to do this? |
Forum: Java Dec 6th, 2008 |
| Replies: 5 Views: 1,621 Runtime() has private access in java.lang.Runtime
Runtime r = new Runtime();
why am i getting this error? |
Forum: Java Dec 5th, 2008 |
| Replies: 5 Views: 1,621 I am trying to write a program that will monitor my routers and servers and notify me when they go down. I am looking for a way to ping the host and read the reply. The InetAddress.isReachable... |
Forum: Java Nov 18th, 2008 |
| Replies: 9 Views: 1,557 i read it again and i still understand the same thing.
i obiously dont understand how to use it.
can you help me out or not. |
Forum: Java Nov 18th, 2008 |
| Replies: 9 Views: 1,557 yes and according to the instructions that is how u should use it. |
Forum: Java Nov 18th, 2008 |
| Replies: 9 Views: 1,557 array is an arraylist<string>
for (int i = 0; i<array.size(); i++)
{
System.out.println(array.get(i).split(" "));
} |
Forum: Java Nov 18th, 2008 |
| Replies: 9 Views: 1,557 the file is tab separated into three sections.
section1 section2 section3
i only want to read section2 |
Forum: Java Nov 18th, 2008 |
| Replies: 9 Views: 1,557 I have a file that is tab separated. i read it in as an arraylist<string> how can i print out only the second section of the file? |
Forum: Java Nov 15th, 2008 |
| Replies: 1 Views: 370 i have a 2d array. i know the position. how can i print it out.
i just need to print out 1 single element not the entire array. |
Forum: Java Nov 15th, 2008 |
| Replies: 1 Views: 1,013 I have a 2d char array and i need to find the position of a specific char in the array. what method can i use.
return Arrays.binarySearch(this.matrixCopy, "S");
does not work it keeps... |
Forum: Java Nov 13th, 2008 |
| Replies: 3 Views: 331 so what function can i use to read in a single char at a time? |
Forum: Java Nov 13th, 2008 |
| Replies: 3 Views: 331 What is wrong with this code. when it do system.out.println(matrix[0][0] i should get 1 char i get the entire line.
int r =Integer.parseInt(line.substring(0));
int c = 10;
... |
Forum: Java Nov 13th, 2008 |
| Replies: 3 Views: 338 i have a file with 2 int's i need to assign them to a variables. the int's are separeated by a space. what method can i use to read each int separeate and then assign it to a variable. |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 421 got it working now, but it is printing out the wrong thing.
private void printFile()
{
for(int i=0; i<matrix.size(); i++)
{
... |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 421 line is getting a value, but for some reason matrix is not being populated. "i" always stays at 0. and there is info on the file it is reading from |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 421 this is what im getting when i compile:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at... |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 421 i tried the scanner thing and nothing.
String fName = "c:\\game.txt";
ArrayList<ArrayList<String>> matrix = new ArrayList<ArrayList<String>>();
private void... |
Forum: Java Nov 12th, 2008 |
| Replies: 8 Views: 421 what is wrong with this code. it does not read the input file correctly.
[/code]
private void readFile()
{
String fName = "c:\\game.txt";
ArrayList<ArrayList<String>> matrix = new... |
Forum: Java Nov 11th, 2008 |
| Replies: 8 Views: 1,155 [/code]
String data;
String[][] matrix = new String[4][4];
private void readFile()
{
try
{
Scanner s = new Scanner(this.fname); |
Forum: Java Nov 11th, 2008 |
| Replies: 8 Views: 1,155 changed matrix and next to string. now it compiles but when i try running it goes into an endless loop? |
Forum: Java Nov 11th, 2008 |
| Replies: 8 Views: 1,155 why wont this work? i have a txt file that i need to read into a matrix. i want to read into a char array so i can analyze each char separate.
[/code]
String fname = "c:\\game.txt";
char[][]... |
Forum: Java Nov 11th, 2008 |
| Replies: 3 Views: 1,887 i eventually want to read the file into a 2d array. i want to be able to find a particular character in the matrix. |
Forum: Java Nov 11th, 2008 |
| Replies: 3 Views: 1,887 How do i read a txt file into a char array. what i have so far only give me blank lines
[/code]
String fname = "c:\\game.txt";
char data;
int row = 2;
int col = 4;
... |
Forum: Java Oct 30th, 2008 |
| Replies: 26 Views: 1,431 on the above code i got the following output:
File: pathcanonical path: c:\testing.txt can write:false can readfalse |