473,473 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

quick question mysql/php

hi-

i have a book on mysql written for version 4 that has hard to read screen
shots. i'd like to get a newer mysql book. do i have to worry about the
version number of mysql i am using if i use php 4.3 version or newer? i'd
like to get the osbourne mysql book. the only thought that comes to mind
is some things may be deprecated since the php 4.2 book i own was
published. i ought to be able to use the net and my new mysql book to
figure out the changes...right?

thanks,
jim
Jul 17 '05 #1
2 1616
j-marvin wrote:
hi-

i have a book on mysql written for version 4 that has hard to read screen
shots. i'd like to get a newer mysql book. do i have to worry about the
version number of mysql i am using if i use php 4.3 version or newer? i'd
like to get the osbourne mysql book. the only thought that comes to mind
is some things may be deprecated since the php 4.2 book i own was
published. i ought to be able to use the net and my new mysql book to
figure out the changes...right?

thanks,
jim


SQL queries are independent of the PHP version. mysql module is the same
in PHP 4 and PHP 5. In PHP 5, however, you can use mysqli (mysql
improved). This provides a) a faster interface to the mysql server (so
they say, at least, didn't test it myself) and b) a mysqli object for
OOP. Note that for mysqli to work you need MySQL 4.1, but the syntaxis
didn't change realy much between 4.0 and 4.1, just some extra features
added.

To answer you question briefly: you can just work as the book describes,
no specific changes have been made. If something doesn't work, read the
manual page, it 'll propably say deprecated since <version>, just check
what the new method is in that manual page.

--
Pieter Nobels
Jul 17 '05 #2
Hi Pieter -

thank you for the response :-)

now i know what book to get.

jim
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: windandwaves | last post by:
is there a quick way to compare the results from two arrays and note the differences? I have two identical tables in MySql (backup and current table) and I want to work out the differences between...
3
by: John Meyer | last post by:
Okay, I have a database listing various meetings. The meetings have a day of the week and a time (Say Sunday at 8:00). Now, given a set of these meetings, how would I order them so that they...
2
by: toddism | last post by:
My book says prevent it like this: $clean = array(); $mysql = array(); $clean="o'reilly"; $mysql=mysql_real_escape_string($clean); why are we using an array ( $mysql ) instead of just a
1
by: pcosway | last post by:
Core question: where does MySQL create temporary files in a quick rebuild? ( I thought I knew the answer, but now can't find them.) I'm trying to rebuild a file using "repair table...
3
by: Franck | last post by:
Im looking since the begining of the week about saving the enter(vbcrlf) from the html <textareato my MySql database, it save everything but it just loose everything when saving ot the database, do...
1
by: elyob | last post by:
I did a quick scandir, but am a little rubbish with array's ... how do I get the jpg info from this result? Array ( =. =.. =.svn =06_0911_235906.jpg => 06_0911_235915.jpg ...
4
by: Computer Guy | last post by:
Hi I have recently started working with PHP and am making a neighborhood website. I am connecting to my Mysql database and am having difficulty understanding what is happening in the example on...
7
by: laptopia | last post by:
I need to build, very quickly, implement a form that will add to a database two text fields and store store an image associated with this record. All my experience with this is from ASP and...
5
by: Anthony2oo5 | last post by:
Hello people, just a quick question I have here. My array looks like this: Array ( => Array ( => 15 => example.com => examplecom => NshKsi23
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.