Home > Archive > PHP Language > October 2006 > New to all this
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| As a sometime VB6 programmer and new to php & mysql I bought the book "php &
mysql webdevelopment" Third edition and started working through it.
I then asked my ISP to add both to my hosting package. They added MySQL 4.1
and PHP 5.0.4
All went well with the easy PHP examples then I came to the lines in the
book like
@ $db= new mysqli ($dbhost, $dbusername, $dbuserpass, $dbname);
to connect to the database but they do not work for me I seem to have >to
use
$db = mysql_connect ($dbhost, $dbusername, $dbuserpass);
The book says that PHP 5 has a library called mysqli and I need this
installed but my ISP responds with
"We actually passed this to our systems team to see if they could install
this for you, however they have said it's not possible to install at this
time as it would mean installing a later version of MySQL and re-compiling
PHP5 which isn't something that is possible at the moment on our shared
hosting servers."
I wonder if this is typical of other ISP's and if its better for me to
obtain an older version of book?
jaez
| |
| Koncept 2006-10-20, 6:56 pm |
| In article <EqIZg.22035$Or2.8255@newsfe7-gui.ntli.net>, Jaez
<jaezms@ntlworld.com> wrote:
> "We actually passed this to our systems team to see if they could install
> this for you, however they have said it's not possible to install at this
> time as it would mean installing a later version of MySQL and re-compiling
> PHP5 which isn't something that is possible at the moment on our shared
> hosting servers."
Your ISP is not one which would retain my business for long. There are
plenty of ISPs out there that have then mysqli extension enabled. You
should try and do a search for PHP5 providers. If you are looking for a
host that can do this for you, send me an email at nubeat <at> gmail
<dot> com. mysqli methods are much more responsive than mysql ones.
--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche
|
|
|
|
|