Hello!
I wrote an application to generate webpages using PHP based on the content stored in a database.
In the first part of the webpage should write:
<? xml version='1.0' encoding='UTF-8' ?>
But since it starts with the PHP <? ?>, it's causing some problems.
Would a normal escape for...
Hi,
When you create a new table and set one field as auto_increment, does this field automatically become the primary key as well?
I tried modifying a table after I created it, with not much success.
1) I tried changing an existing field to auto_increment, didn't work.
2) I tried changing...
SolidFish,
Thank you. I tried :
import java.SavitchIn.java;
public class SpeciesFirstTryDemo
{
public static void main(String[] args)
{
}
}
But received an error saying "package SavitchIn does not exist."
All the files are in the same directory. Why is it saying the class is...
Hi,
I'm just a newbie... trying out some exercises in my Java programming book. It has a number of classes in the accompanying CD but I haven't been able to import them with the exercises I've been following.
Could you please tell me step-by-step how to import a foreign class and use it with...
Dear Experts,
I've been programming in PHP for months now. The most trouble I have is problem solving. Is there a website I can look up error messages and know what they mean?
What is the best way to learn error handling? I have set error_reporting(15) so I'm getting all the information I...
I'm trying to grab only what's in between the <td....>foo</td> tags. Just "foo" in this case. I guess I need a way to say "ignore" the properties inside the <td...> tag.
Hope I'm clear this time.
Hi,
I'm writing a php app that strips out only text from a .html page so I can insert them into a database and work from there.
To begin, I'm attemping to get all the text in between <td>s but haven't worked out quite well yet. (I'll move onto the <img>s and <a>s inside the <td>s after I...
Dear Experts,
This is probably way too easy for you.
But I am having trouble installing Java. I downloaded j2sdk-1_4_2_02-windows-i586-p-iftw.exe and installed it but when I tried to compile a file like this:
c:>javac something.java
It says 'javac ' is not recognized as an internal or...
Hi,
Which application do you use for mySQL development? I've been using SQLYog for about 6 months and it works great but they don't support their free version any longer.
I'm looking for a free program. Any suggestions?
Thanks!
I've been using Pop-Up Stopper Free Edition for about a month, and it works great.
You can download free from www.panicware.com. You can see the pop-up, well, pop up, but then it closes immediately.
Here's a sample table:
Columns:
table_id(primary, auto_increment), item_number, user_name, entry_date
Each time a user logs in, they record an item, their user_name and an entry_date.
Sometimes there will be duplicates of item_id, but only one entry per user.
I tried to get the latest...
Hi y'all,
Is there a way to link two columns within a table to be unique?
For example, the columns in a table "users" are:
user_id(primary key, auto_increment), user_name, date
I'd like to have user_name and date linked to each other so there could be only one entry per user_name...
Hi,
In Perl, the chop() function removes the last character of the string. I'm looking for a function in PHP that does that.
Could you please help me?
I'm getting my data from the database but it's in 4 digits - I only want the last two. Is there a function to do this or do I have to create...
Hi, I'm trying to change a column type to unique.
I tried the following but got some interesting error msgs.
Please help!
Here's what I tried:
ALTER TABLE number CHANGE COLUMN date unique
ALTER TABLE number CHANGE ADD unique(date)
ALTER TABLE number CHANGE date ADD unique (date)
Thanks!
My computer half-freezes after every 10 minutes of use. What I mean by "half-freeze" is, only the bottom part of the screen freezes. I can close the browser from the X on top but I cannot navigate through the apps using the Taskbar or Quick Launch.
The only thing that seems to help...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.