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
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,
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 up several
databases
' 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: [EMAIL PROTECTED]
To contact
What I would like to happen is for the PHP script to be able to look for the
!-- include -- 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
by simply
changing each comma to a 'br' 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]
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, e-mail: [EMAIL
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-s.co.uk
--
PHP General Mailing
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: [EMAIL PROTECTED]
To contact the list
($phonenumber)) {
echo Integer;
} else {
echo Not Integer;
}
?
/html
However, for some reason the script doesn't recognize the number as an
Integer - why is this and how can I remedy it?
Jamie Saunders
Mail: [EMAIL PROTECTED]
Web: http://jamie-s.co.uk
--
PHP General
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 unsubscribe, e-mail
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.
Jamie Saunders
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 this?
Thanks.
Jamie Saunders
Mail
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
Mail: [EMAIL
14 matches
Mail list logo