Skip to content
Advertisement

Tag: php

php mssql next row

I need some advice how to get the next value of a row with while loop in php-mssql. same articles My code:

Seperate integer into character PHP

i try to make scoresheet where $row[“first”]=756987 show Math 7, Biology 5, Sport 6, Sociology 9, Chemist 8, English 7 but it keep showing all 7 can someone help solve this and show some example appreciate your help Answer Use str_split() and list() method for your use case, example below: Docs list() : https://www.php.net/manual/en/function.list.php str_split() : https://www.php.net/manual/en/function.str-split

Can’t add row in sql server because of date

I have a web application where I need to insert data in my SQL Server table, the problem is that I have this error in my Apache log: General error: 241 Conversion failed when converting date and/or time from character string. I have the same error when I try directly inside ms sql server. There is my php code :

Advertisement