php-windows Digest 6 Apr 2006 06:10:41 -0000 Issue 2931
Topics (messages 26817 through 26819):
Re: Access javascript from php
26817 by: Aaron Kenney
PHP 4.4.2 and MySQL 5?
26818 by: Jeff Chastain
26819 by: dale.kwikitsolutions.co.za
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I recommend <script type='text/javascript'> instead of <script
type="text/javascript">. Then you won't have a double-quote within a
double-quote.
-Aaron Kenney
On 4/4/06, Alf Stockton <[EMAIL PROTECTED]> wrote:
> I have written my program in such a way that all the html is separate
> from my php but now I need to include a piece of javascript within the
> php but the php is very unhappy with <script type="text/javascript">,
> telling me Parse error: syntax error, unexpected '<' on that line.
> How do I do this?
>
> --
> Regards,
> Alf Stockton www.stockton.co.za
>
> This life is yours. Some of it was given to you; the rest, you made
> yourself.
>
> My email disclaimer is available at www.stockton.co.za/disclaimer.html
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
I have MySQL 5 installed and running with several non-PHP applications on my
development server. I am trying to install a PHP app that supposedly only
works on PHP 4 currently (not PHP 5). So, I installed PHP 4 and everything
looks good there. However, I cannot get it to connect with MySQL 5.
I have found a few postings online regarding this issue, but no solutions.
Has anybody done this and can you provide some pointers?
Thanks.
--- End Message ---
--- Begin Message ---
You could try the following:
1) delete your existing php_mysql.dll
2) copy php_mysqli.dll into your extensions directory
3) rename php_mysqli.dll to php_mysql.dll
Then repeat steps 1-3 for the libmysql.dll/libmysqli.dll
> I have MySQL 5 installed and running with several non-PHP applications on
> my
> development server. I am trying to install a PHP app that supposedly only
> works on PHP 4 currently (not PHP 5). So, I installed PHP 4 and
> everything
> looks good there. However, I cannot get it to connect with MySQL 5.
>
> I have found a few postings online regarding this issue, but no solutions.
> Has anybody done this and can you provide some pointers?
>
> Thanks.
>
--- End Message ---