0

Recently only i cam eto know about Mysqli..
.
.
i was wondering What Esp. does Mysqli have..?? :O

i have a store procedure.. which i can call in Mysql..!! than why should i use Mysqli.?? :O

One more thing i want to ask..

$link=mysql_connect($server,$serveruser,$serverpassword,0,65536);

what two parameters used for..? when i didnt use it i am unable to call store procedure..! :O

Edited by mike_2000_17: Fixed formatting

3
Contributors
6
Replies
7
Views
8 Years
Discussion Span
Last Post by somedude3488
0

mysqli was introduced in php5.

can u give more information please, a little hard to understand

0

mysqli was introduced in php5.

can u give more information please, a little hard to understand

Sorry for inconvenience..i post it in hurry..!! :(

i am posting my post again..!! :)

Recently only i came to know about Mysqli..
.
.
i was wondering What special does Mysqli have..?? :O

i am able to run store procedure in Mysql..!!!than why should i use Mysqli.?? :O


One more thing i want to ask..

$link=mysql_connect($server,$serveruser,$serverpassword,0,65536);

what is the use of last two parameters in above code..? when i didn't use it than i am unable to call store procedure..! :O
.
.
i hope this time i made u clear.. what i want to ask..!! :)

0

$link=mysql_connect (server, username, password, new link, client flags)

Ive included the definitions for you below

new_link
If a second call is made to mysql_connect() with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. The new_link parameter modifies this behavior and makes mysql_connect() always open a new link, even if mysql_connect() was called before with the same parameters. In SQL safe mode, this parameter is ignored.

client_flags
The client_flags parameter can be a combination of the following constants: 128 (enable LOAD DATA LOCAL handling), MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. Read the section about Predefined Constants for further information. In SQL safe mode, this parameter is ignored.

0

$link=mysql_connect (server, username, password, new link, client flags)

Ive included the definitions for you below

new_link
If a second call is made to mysql_connect() with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. The new_link parameter modifies this behavior and makes mysql_connect() always open a new link, even if mysql_connect() was called before with the same parameters. In SQL safe mode, this parameter is ignored.

client_flags
The client_flags parameter can be a combination of the following constants: 128 (enable LOAD DATA LOCAL handling), MYSQL_CLIENT_SSL, MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. Read the section about Predefined Constants for further information. In SQL safe mode, this parameter is ignored.

I didnt understand ur whole post.. but i get most of it..!!
.
.
what do u mean by Mysql in Safe mode.? :O
.
.
and can u answer my Question..
.
.
why should i use mysqli if i am able to run store procedure with Mysql

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.