![]() |
Php Code Help
I am trying to learn more about php . I posted this code in another part tryin to get input on the hack I was hacking.
Seeing as it is also something I very much want to understand why it does not work I will try in this part. PHP Code:
I am used to visual basics and some of php makes sence just others do not. Thanks in advance. |
$message has no value (from what you posted) .. you need to assign a value to it.
|
Assume $message="whatever how are you all today";
The above code should take out the whatever in the beggining. |
you can use explode();
it works well for what you are trying to do. or try this: PHP Code:
|
Explode seems to make more functions then needed.
There is not a way just to take out first word in the sentence? |
Wait n/m I got it thanks to your example.
Thank you for the help. It is hard learning all this when I am used to a dif lang:) |
All times are GMT. The time now is 02:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|