Thank you, both preg_replace() and urlencode() worked.
I appreciate the help!
Type: Posts; User: JTGreeno
Thank you, both preg_replace() and urlencode() worked.
I appreciate the help!
FYI, I echoed the results of each operation I tried (see original post), and this far have not found a method that works.
I had high-hopes for one of these:
echo str_replace('\\"','"',$enStr)...
The problem is not pulling a field that contains quotes; the problem is that if the field contains quotes, I need to escape them (that is change " to &_quot; and change ' to &_#39; {without the...
Hi BobDog...
The link you posted here (http://codewalkers.com/seecode/192.html ) is reported as dead; can you provide an update?
I need to pass a string in a function call, and there is a possibility that the string may contain double quotes ("), single quotes (') or both.
I want to replace " with &_quot; and ' with &_#39;...
I have a few follow-up questions:
Your "Message" database then contains the full code for each message, so the personalization is not lost (is that correct?) -- If so, can you include in each...
I have a process to batch the sending of mail messages.
I use a form to input selection criteria, and other variable information, and on SUBMIT, that form calls another php file that does the...
UPDATE: 18-Jan-2009: FYI, I solved this by writing my own functions. The 3rd party addins seemed like overkill, so I built my own with just a few files:
- one mySQL table,
- one form to display...
Too bad the mysql_error() didn't post a more meaningful/relevant error message -- it would have saved me some time.:rolleyes:
Cheers!
--JTG
[QUOTE=martymaven;37976]I can access the data with the username and password I set up, and I gave that user all priveleges to the database. Is there something else I've missed?[QUOTE]
Try adding...
FYI, This has been resolved. The query contained a reserved key word ($From), and once I renamed that variable, the query worked OK.
The offending variable if highlighted in this color.
...
I am trying to create a php form that enables a single file upload to a specified folder in my site. I found a number of general references that I used to create a form and a script. For example,...