Update code
hello,
so I use code TS 2.5 its based TBDev 08 and works on php 5 so what i must change in my code, to works on php 7. thnk you for answer |
all mysql_ will become mysqli_ and a host of other conversions are needed. Its not a hard thing to do, but will take some time figuring out if any of the old code was deprecated and convert it to php 7
|
is here any coder to help me
ex: Quote:
Quote:
Quote:
|
you need to connect the database. you have to create a database variable. You can use yakpro, but it wont fix deprecated code
I can only use TT as an example, but it should look like this, $GLOBALS is a php universal Quote:
Quote:
each() mysql_result() the above are deprecated, emulate the function if you need to |
this is in config file to connect database
|
post your config file, maybe someone can help
|
Code:
# IMPORTANT: Do not edit below unless you know what you are doing! |
the above as nothing to do with if (mysql_affected_rows() === 0) {
Look at the files it call on And the line your looking at must be as below PHP Code:
it will need a few more functions for it too work Ive done so many i know what im talking about |
All times are GMT +2. The time now is 00:38. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.