Ok, so somehow the encoding got all futzed up. I went in and replaced all the <?> messed areas with the correct symbol and the htmlspecialchars() worked fine with those changes.
Oh well... C'est la vie!
jsl
Search found 24 matches
- Tue Jan 11, 2011 7:56 pm
- Forum: Tech Show Discussion
- Topic: Dann, Guru of PHP...
- Replies: 6
- Views: 7094
- Tue Jan 11, 2011 7:49 pm
- Forum: Tech Show Discussion
- Topic: Dann, Guru of PHP...
- Replies: 6
- Views: 7094
Re: Dann, Guru of PHP...
As noob as I am, tried the htmlspecialchars() and to no avail.dann wrote:htmlspecialchars and nl2br maybe?
I'm wondering if the quotes got encoded wrong in the db somehow... It *is* a copy of a db... maybe something when horribly wrong in the encoding.
jsl
- Mon Jan 10, 2011 10:41 am
- Forum: Tech Show Discussion
- Topic: 2011 Predictions
- Replies: 4
- Views: 6082
Re: 2011 Predictions
Apple will open source iTunes, finally realizing that their products can be infinitely better if they are open.
- Mon Jan 10, 2011 10:38 am
- Forum: Tech Show Discussion
- Topic: Dann, Guru of PHP...
- Replies: 6
- Views: 7094
Re: Dann, Guru of PHP...
So, encore! I've got a tidy bit of code that makes me happy, but there is a problem. I'm pulling data from MySQL, parsing it in php, and returning it to the main page through an AJAX function. While this works swimmingly, somewhere along the line my carriage returns and quotation marks are being tur...
- Fri Jan 07, 2011 5:05 pm
- Forum: Tech Show Discussion
- Topic: Dann, Guru of PHP...
- Replies: 6
- Views: 7094
Re: Dann, Guru of PHP...
Ok! Awesome. Thanks for the help! I'm sure I'll be querying you more again soon. 
- Thu Jan 06, 2011 7:37 pm
- Forum: Tech Show Discussion
- Topic: Dann, Guru of PHP...
- Replies: 6
- Views: 7094
Dann, Guru of PHP...
So I'm working on a project, and each page has some formatting that needs done, just basic stuff like default text, basic formatting, etc. I'm wondering what the best way to accomplish this might be. I'm thinking about building a default_html.php file that has the basics in it (divs, basic page layo...
- Thu Jun 17, 2010 10:27 am
- Forum: Anything Goes
- Topic: Oh Great Dann (mySQL question)
- Replies: 1
- Views: 5567
Re: Oh Great Dann (mySQL question)
ignore me, I'm stupid: SELECT telegrams . * , telegramMeta . * FROM `telegramMeta` JOIN `joinMeta` ON `telegramMeta`.`id` = `joinMeta`.`metaID` JOIN `telegrams` ON `joinMeta`.`telegramID` = `telegrams`.`id` and I don't need a join, necessarily. But I think I might have made things harder than they n...
- Thu Jun 17, 2010 10:07 am
- Forum: Tech Show Discussion
- Topic: Turd of the Week submissions
- Replies: 18
- Views: 26944
Re: Turd of the Week submissions
I think you all get 'turd' awards for railroading this thread.
- Thu Jun 17, 2010 9:57 am
- Forum: Anything Goes
- Topic: Oh Great Dann (mySQL question)
- Replies: 1
- Views: 5567
Oh Great Dann (mySQL question)
so I have written a join: SELECT telegrams.*, telegramMeta.* FROM telegrams JOIN telegrams ON telegrams.id = joinMeta.telegramID JOIN telegramMeta on joinMeta.metaID = telegramMeta.id from our conversation years ago, this should work. Well, it didn't... So I did a little looking and wrote: SELECT te...
- Thu Jun 17, 2010 9:44 am
- Forum: Anything Goes
- Topic: iPhone App
- Replies: 4
- Views: 8426
Re: iPhone App
That's what I'm working on next. I was so annoyed with the @____@'ing objective-C that we are building a web-app. But your'e right, writing web apps for iPhone is doable.
Pat -- no... just... no.
Pat -- no... just... no.
- Wed Jun 16, 2010 5:49 pm
- Forum: Anything Goes
- Topic: iPhone App
- Replies: 4
- Views: 8426
iPhone App
So I wrote an iPhone app. I can only compare this to web-based software, but seriously, iPhone SDK is annoying. If you don't already know, it's based on Objective-C with apple's libraries sitting on top. At first blush, it's pretty neat, I mean, if you want to recognize touches, you just tell it to ...
- Sun Jul 13, 2008 8:48 pm
- Forum: Tech Show Discussion
- Topic: Taking Linux advocacy to the "mainstream" tech press
- Replies: 136
- Views: 81709
Re: Taking Linux advocacy to the "mainstream" tech press
First of all, I cringed a little bit at the playing of clips of Linux bashing from the various Twit broadcasts. While many of those comments pissed me off, what immediately sprung to mind is that we could likely string together 8 full hours of Windows and Mac-bashing comments from the TLLTS shows o...
- Thu Jun 05, 2008 10:16 am
- Forum: Tech Show Discussion
- Topic: stumped about php
- Replies: 6
- Views: 5440
Re: stumped about php
I commented out the following code, and it works now? if(!isset($name)){ $_SESSION['edit']="new"; die('No name'); } else if (!isset($gf)){ $gf="Y"; } else if(!isset($category)){ $_SESSION['edit']="new"; die('No Category'); } else{ This wonderful pile of code was sitting in the function called to ins...
- Thu Jun 05, 2008 10:10 am
- Forum: Tech Show Discussion
- Topic: stumped about php
- Replies: 6
- Views: 5440
Re: stumped about php
I am not understanding what is happening here. Could you model what you are seeing and then what it should be doing. Something like: load page -> click new button -> see form You said it it then calls this function which displays a new entry into the recipe database. The unfortunate part is that so...
- Thu Jun 05, 2008 9:29 am
- Forum: Tech Show Discussion
- Topic: stumped about php
- Replies: 6
- Views: 5440
Re: stumped about php
Nope. To be sure I just added <input type="hidden" name="choice" value=""> to what is being echo'ed, I am also going to echo $_POST['choice'] to see if it is being set again, but I don't think it is. jsl just echoed out $_POST['choice'] and as true-to-form, $_POST was reset when the page refreshed, ...