Hi,
What I'd like to do is take a string (paragraph) of text consisting of say
500 words and display only the first 100 words. Is there a function able to
do this?
Thanks.
Jamie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
? I don't want to
list the last 5 records entered from each table but from the whole database.
Is there any easy way of doing this?
Thanks.
Jamie Saunders
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi,
I've got a list of strings in the following format:
item one
item two
item three
What I'd like to do now is to capitalise the first letter of each word so
the list becomes:
Item One
Item Two
Item Three
Can anyone tell me how to do this?
Thanks.
Jamie Saunders
[EMAIL PROTECTED]
ly by simply
changing each comma to a '' in the script?
Thanks.
Jamie Saunders
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
t to be able to look for the
tags within the text files and parse them as PHP
include(""); tags. Is there any way of achieving this?
Thanks.
Jamie Saunders
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
ich field 'name' beings with A
} else if ($letter = B) {
...
I'm just starting out on this, so please excuse my ignorance :)
Jamie Saunders
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
ay of resetting it?
Thanks.
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi,
Is there a PHP function that will redirect the current page to another url?
e.g.
if ($varTwo == $varOne) {
URL redirection code
} else {
echo "You stay right where you are!";
}
Thanks.
Jamie Saunders
Ma
Hi,
I want to check whether a string contains a certain word e.g.
$varOne = "this is a string";
if ($varOne contains "is") {
return true;
} else {
return false;
}
Is there an operator for 'contains', if not how do you do t
Hi,
I've set up a MySQL database and an HTML search form. I'd like to know how
to search the database with whatever it entered into the form. It only
needs to be a simple search, returning anything that matches the word(s)
entered into the input box in the form. Thanks.
Jami
Hi,
Is it possible to add text onto the end of a variable name?
e.g. to add the word 'code' onto the variable $field so it would be $fieldcode
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi,
I'm submitting a phone number from an HTML form to a PHP page that examines
it to see if it's an integer:
form.html:
validate.php:
However, for some reason the script doesn't recognize the number as an
Integer - why is this and how can I remedy it?
Jami
ed in the PHP manual but can't find any
information relating to the query string.
Thanks.
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Hi,
How do you add text vars together e.g.
$varone = "hello";
$vartwo = "world";
$varthree = ($varone, $vartwo);
Obviously the above example doesn't work so can someone tell me how to do this?
Thanks
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-
Hi,
First of all, I've just joined this list, so here's a brief
introduction. My name's Jamie Saunders, I'm an 18 year old student from
the UK studying for my A-Levels. I'm currently working on a Computer
Studies project for a local business which involves setting
15 matches
Mail list logo