Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

left() error

Status
Not open for further replies.

estrellas

Programmer
Joined
Jul 16, 2004
Messages
48
Location
US
when i'm trying to strip some unneeded chars off my query ... i get this error
Code:
Fatal error: Call to undefined function: left()
and here's the statement that causes the error
Code:
$query = left($query, strlen($query)-4);
is there a strcat function or something in php?

-------
 
thanks so much - that fixed it and makes sense with the syntax and everything . .thanks also for the awesome link :)

-------
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top