Jump to content

MYSQL acceptable php explode delimeters.


SpeedCrazy

Recommended Posts

Hey guys,

Still working on my cms, i have a problem, i want to create a string formula that will generate a unique pageID for each page of my site. For example pageID=1/5 or 2/4 1/5 would mean dir 1 pageID 5, and 2/4 dir 2 pageID 4. My problem lies in the fact that all of the delimiters for the explode function to break this string down have thrown errors when used in a mysql query from php. i query content WHERE 1/1 and when i echo the query i get

WHERE 1/

are there any delimiters that play nice or do i need to use a character like 1a1? that just looks messy.

Any thoughts?

Thanks,

Speed

Edited by SpeedCrazy

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...