MySQL Query
#6

It's just changing the delimiter that the sscanf function is using to split the string up. By default it uses spaces, but in your particular result string, it was seperating the results by the '|' character, so to set a new delimiter in sscanf, all you have to do is add p|, telling sscanf to split the string by | and not by spaces
Reply


Messages In This Thread
MySQL Query - by Agent Smith - 11.08.2010, 19:30
Re: MySQL Query - by JaTochNietDan - 11.08.2010, 19:37
Re: MySQL Query - by Agent Smith - 11.08.2010, 19:41
Re: MySQL Query - by JaTochNietDan - 11.08.2010, 19:43
Re: MySQL Query - by Agent Smith - 11.08.2010, 19:45
Re: MySQL Query - by JaTochNietDan - 11.08.2010, 19:47
Re: MySQL Query - by Agent Smith - 11.08.2010, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)