Jump to content

While loop, double output


Go to solution Solved by mac_gyver,

Recommended Posts

There is literally only one line in my database. That line is Itz | Leijae | 1234 Road Street | Smalltown | 100

 

 

You should do each value in it's own named column. Use auto increment for the id.

Then use a LIKE comparison or use fulltext search in booleon mode

  • Solution

there are three (or more) possibilities -

 

1) you actually have two rows in your database table (did you refresh the display of the information to make sure?)

 

2) the code you have shown us is inside of a loop of some kind.

 

3) you have managed to store that string of data into two of the database fields, with the rest of the fields empty.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.