Hi,
I've made a search-script, it searches in a mysql-table and just displays the results...
The problem is that users probably will search with only the normal characters, but in the mysql-table, ë é è is used (when correct)... How can i search so that if the users search for...
Hi,
I'm trying to create a online game for which i need fictious (fake) names... Preferably by nationality...
Currently I've made 2 databases (first and second names) (mysql), and I let php randomly choose a name... Problem being that making such a database for a number of nationalities is alot...
Hi,
I have IIS, php and mysql installed and working. Now I don't know if it's possible, but I would like to run a couple of scripts (php) on a specified time (sunday at midnight for example), these scripts are for updating the mysql-tables and other things...
Is that possible in IIS? or some...
Hi,
For family-members, I would like to make a small program, maybe just a bat-file or something that would change te screen-resolution to let's say 1024x768, so when my family-members execute the program, the screen changes so they can read everything properly... Learning them how to do it...
Hi,
I need to be able to search a table for searchstrings...
The table is a Adressbook and what I want to do is search on names with the Filter property...
Table1.Filter := 'Name = ' + QuotedStr(EditSearch.Text);
This works, but then you have to search for the full name, correctly spelled or...
Hi,
Is there a way to protect php-scripts?
Like for connecting to mysql, I have a php-file where pasword etc... are kept, I thought of putting those files in a separate folder but I can't seem to get the right chmod settings, I'd like the scripts to be able to access them but the user(s)...
Hi,
I have a textarea and I'd like to input some tags around a selection that the user makes... Like adding <B> and </B> around it, so it can later be used on a webpage...
I can get it at the end of the textarea but I'd like it to be around the selected text :(
Here's what I've got so far...
Thanx benlinkknilneb,
that's a really good start for me !!
But the problem is that the file I need to read is a file that should and could be changed by the user... sort of a configuration-file... And for that, I think It would be usefull if the file contains the variable-names aswell... Each...
Hi,
I'm making a online app in which I need to make a mysql-table if it doesn"t already exists? Making the table isn't the problem, but what's the best way to check If a certain table already exists? Is there a function for this?
Or should I load all the tablenames in an array and then...
Hi,
Is there a good way to read variables from a file...
Maybe a file like:
var1=tekst1
var2=tekst2
...
and use the variables var1 and var2 in the program with the values tekst1 and tekst2 ? And if this is possible can I read arrays in? maybe like array1=(bla,bla,bla) ??
Thanx to anyone who...
Hi,
I'm a newbie "newbie" and I'm looking for a good COMPLETE example for showing a dialog in wich the user can choose a file wich the program will than read...
And I know its something with CFileDialog and GetPathname but how and what i need to "include", I don't know :(...
Hi,
I've just installed php on IIS 5.1 on my Windows XP, but apparently I can't transfer variables between scripts... It doesn't seem to remember the vars :|
I don't know If its a problem with ISS or with PHP, does anyone know what setting or something needs to be done for it to work?
Here's a...
Hi,
I need help with the split fuction :(
It seems that perl spilts TWICE when you use an OR (|) and both parts are accepted...
My example:
$rule = "This is a sentence!";
@words = split(/(^[\w]+$)|([\W]+$)/,$rule);
foreach $word (@words)
{
print "$word\|";
}
Perl...
Hi,
I want to spilt a sentence but KEEP the points,questionmarks,spaces,...
Like so:
$sentence = "A simple sentence!";
@words = spilt(/???/,$sentence);
@words[0] should be 'A'
@words[1] should be ' '
@words[2] should be 'simple'
@words[3] should be ' '
@words[4] should be 'sentence'...
I want to make a button so people can search the current page using the already implemented function. You can open it by doing CTRL+F in almost any browser !! but I want a button that does that on my page? I think its the same as for making a button to add the current site to your Favourites...
Hi,
I've seen a script that exports a Mysql Table into a CSV-file that you can open with Office Excel... But unfortunatly, I have no Idea how? Can Anyone be so kind as to tell me how it is done?
Thanks a million !!
math
Hi,
I want to let the user give strings until he wants to stop. He can stop by just giving an empty string... BUT...
my while loop doesn't seem to work??
read String name;
while (name != "") {
...
read strig name;
}
It doesn't work... I think there's an ENTER hidden, because the...
Hi,
I need to be able to have an array of which I don't know how big it has to be... It should be dynamic... Isn't there a way to just say that the array needs to expand when necesarry? I don't know how many cell will be needed !! I have a prog that reads input, and i need it put that info in...
hi,
I'm working on a script that uses a calendar... for that, I have variable like $m, $d, $y to represent month, day and year... But apparently php just throws the zero away, and I need the zero later in the script...
so if I were to say:
$d = "02";
$m = "02";
$y =...
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.