Click here to Skip to main content
15,890,579 members
Home / Discussions / Web Development
   

Web Development

 
QuestionPHP V7.4.14, convert this database function, understanding mssql_fetch_field to sqlsrv_fetch Pin
jkirkerx10-Feb-21 9:36
professionaljkirkerx10-Feb-21 9:36 
AnswerRe: PHP V7.4.14, convert this database function, understanding mssql_fetch_field to sqlsrv_fetch Pin
jkirkerx12-Feb-21 13:14
professionaljkirkerx12-Feb-21 13:14 
Questionphp 7.4.14 convert smalldatetime to string for html display Pin
jkirkerx9-Feb-21 12:14
professionaljkirkerx9-Feb-21 12:14 
AnswerRe: php 7.4.14 convert smalldatetime to string for html display Pin
Richard Deeming9-Feb-21 22:00
mveRichard Deeming9-Feb-21 22:00 
GeneralRe: php 7.4.14 convert smalldatetime to string for html display Pin
jkirkerx10-Feb-21 5:19
professionaljkirkerx10-Feb-21 5:19 
GeneralRefresh a div with pjax Pin
Member 150664316-Feb-21 9:32
Member 150664316-Feb-21 9:32 
GeneralRe: Refresh a div with pjax Pin
OriginalGriff6-Feb-21 9:45
mveOriginalGriff6-Feb-21 9:45 
Question500 Error Pin
#realJSOP4-Feb-21 5:49
mve#realJSOP4-Feb-21 5:49 
AnswerRe: 500 Error Pin
Richard Deeming4-Feb-21 5:59
mveRichard Deeming4-Feb-21 5:59 
GeneralRe: 500 Error Pin
#realJSOP4-Feb-21 7:33
mve#realJSOP4-Feb-21 7:33 
GeneralRe: 500 Error Pin
Richard Deeming4-Feb-21 21:42
mveRichard Deeming4-Feb-21 21:42 
GeneralRe: 500 Error Pin
#realJSOP7-Feb-21 9:08
mve#realJSOP7-Feb-21 9:08 
QuestionVS code/Live Server Browser issue Pin
ISHYY4-Feb-21 4:42
ISHYY4-Feb-21 4:42 
Questiondeployment using "FTP Passive" Pin
Super Lloyd4-Feb-21 1:56
Super Lloyd4-Feb-21 1:56 
QuestionPHP 7.4, best practice to establish a database connection Pin
jkirkerx2-Feb-21 8:10
professionaljkirkerx2-Feb-21 8:10 
On my customer PHP project, I've been tasked with upgrading it from PHP 4.7 to PHP 7.4.14. I decided not to take baby steps and do a giant leap since the app is so primitive, meaning it doesn't use any of the extensions such as image or anything clever.

I have 1000's of database queries using mssql_query, but I need to establish a connection first. Before I try to reinvent the wheel, thought it would be better to look at the wheels out there already first.

I'm not a PHP developer, nor do I work on WordPress, but could use a nudge in the right direction. Hoping there is something global. I saw something where I can add a PHP files called dbConnect, and PHP will load it on startup. But the documentation was kind of fuzzy to me.

All I've done so far was to do a test connection first, setup the environment, and start research on this.
I'm using PHP Storm
If it ain't broke don't fix it
Discover my world at jkirkerx.com


modified 2-Feb-21 14:54pm.

QuestionWhich will be the best web development course for kids? Pin
Annet Rose13-Jan-21 23:35
Annet Rose13-Jan-21 23:35 
AnswerRe: Which will be the best web development course for kids? Pin
Richard MacCutchan14-Jan-21 0:37
mveRichard MacCutchan14-Jan-21 0:37 
RantHTML Emails - Printing Pin
Gripper 1070963823-Dec-20 6:08
Gripper 1070963823-Dec-20 6:08 
QuestionPHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx19-Dec-20 11:31
professionaljkirkerx19-Dec-20 11:31 
AnswerRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
Peter_in_278019-Dec-20 15:02
professionalPeter_in_278019-Dec-20 15:02 
GeneralRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx20-Dec-20 8:01
professionaljkirkerx20-Dec-20 8:01 
AnswerRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
Graham Breach20-Dec-20 5:02
Graham Breach20-Dec-20 5:02 
GeneralRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx20-Dec-20 8:04
professionaljkirkerx20-Dec-20 8:04 
QuestionI might be wrong about Firefox BOOKMARK behavior ... but Pin
RedDk19-Dec-20 8:36
RedDk19-Dec-20 8:36 
QuestionMVC control libraries Pin
#realJSOP18-Dec-20 2:28
mve#realJSOP18-Dec-20 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.