Jump to content

[SOLVED] Reload first word only


web_master

Recommended Posts

Hi,

 

I want to reload a text from database, but I want to "echo" only the first word?

 

In database is: "Fox on the run"

and I want to print on screen only first word: "Fox"

 

From every rows only first word...

 

How can I do this with PHP?

 

$request['headline'];

 

thnxs

T

Link to comment
https://forums.phpfreaks.com/topic/154758-solved-reload-first-word-only/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.