Jump to content

A few formatting problems...


slaterino

Recommended Posts

I was wondering if anyone knew how to resolve the following.

 

I am using a database that has stored some information as Submitted. Some entries have these markings around them and some don't. How can I amend a query so that it is always shown correctly as just text.

 

And a couple of other quick things I thought I would ask, seeing as they're kind of related:

 

I have an auto-id that started at 1, and then is increasing slowly from there. Is there anyway that I can make it 8 digits, so that 1 would be 00000001 and so on from there. Is this something that can be done in the MySQL database or would it need to be done in PHP?

 

Lastly, what code would I use to make 0 and 1 into Yes and No when being displayed using PHP?

 

Thanks

Russ

Link to comment
Share on other sites

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.