I was an idiot and didn't make a backup before editing the wp-config file.
All I did was add a line of code to the bottom of it. When I reloaded my site, it gave me a white screen with a few lines of text (no, don't remember what it said). So I removed the code and tried again. No luck.
So I edited my wp-config-sample file with my database info, username and password and made that my new wp-config file. Tried my site and this time I got the screen to set up a new wordpress install. After trying to find a solution with no luck, I just filled out the info to see what would happen. I could get back in, themes are still there, but my pages and posts are gone. Only ones are the standard hello world and sample page.
I went into phpMyAdmin to check the database there. It appears the posts and pages are in there.
Is there a way to get them back on my site?
Not sure why just uploading a new wp-config file with my database info didn't do the trick??