1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

PHP Extracting and reformatting a string

Discussion in 'Web Design & Development' started by aasmith26, Apr 3, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. aasmith26

    aasmith26 Thread Starter

    Joined:
    Nov 28, 2008
    Messages:
    37
    OK Folks. Maybe that was a little difficult to understand. What i'm trying to do is take every other line, make it into a second variable.

    i.e...
    3929 needs to be $var_one[$i]
    7658 needs to be $var_two[$i]
    3922 needs to be $var_one[$i]
    7649 needs to be $var_two[$i]

    get it?

    I'm sure theres some sort of string function that can be used to do this in a while loop for the count of words.

    Thanks again!
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/989592