Click here to Skip to main content
15,887,746 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Reduce Javascript Pin
Member 1497619910-Mar-21 22:04
Member 1497619910-Mar-21 22:04 
GeneralRe: Reduce Javascript Pin
Richard Deeming10-Mar-21 22:18
mveRichard Deeming10-Mar-21 22:18 
GeneralRe: Reduce Javascript Pin
Member 1497619910-Mar-21 23:01
Member 1497619910-Mar-21 23:01 
QuestionHI can someone help me with my responsive gallery project? Pin
Florina Catalina10-Mar-21 4:38
Florina Catalina10-Mar-21 4:38 
AnswerRe: HI can someone help me with my responsive gallery project? Pin
Richard MacCutchan10-Mar-21 22:23
mveRichard MacCutchan10-Mar-21 22:23 
GeneralRe: HI can someone help me with my responsive gallery project? Pin
Florina Catalina12-Mar-21 6:24
Florina Catalina12-Mar-21 6:24 
GeneralRe: HI can someone help me with my responsive gallery project? Pin
Richard MacCutchan12-Mar-21 6:42
mveRichard MacCutchan12-Mar-21 6:42 
AnswerRe: HI can someone help me with my responsive gallery project? Pin
NotTodayYo12-Mar-21 7:15
NotTodayYo12-Mar-21 7:15 
AnswerRe: HI can someone help me with my responsive gallery project? Pin
Member 1529865622-Jul-21 21:56
Member 1529865622-Jul-21 21:56 
QuestionHello, i need some help for a project with css and html Pin
Florina Catalina10-Mar-21 4:38
Florina Catalina10-Mar-21 4:38 
QuestionHelp me remove unused CSS Pin
maithu7029-Mar-21 1:27
maithu7029-Mar-21 1:27 
AnswerRe: Help me remove unused CSS Pin
Richard Deeming9-Mar-21 22:20
mveRichard Deeming9-Mar-21 22:20 
AnswerRe: Help me remove unused CSS Pin
User 1407655214-Jul-21 10:03
User 1407655214-Jul-21 10:03 
QuestionDeployments Pin
#realJSOP27-Feb-21 4:57
mve#realJSOP27-Feb-21 4:57 
QuestionASP.Net Web API Controller Question Pin
Kevin Marois26-Feb-21 7:47
professionalKevin Marois26-Feb-21 7:47 
QuestionPHP7+, working with datetime stored in cookie with json format Pin
jkirkerx17-Feb-21 11:48
professionaljkirkerx17-Feb-21 11:48 
QuestionMessage Closed Pin
14-Feb-21 10:11
ellaluceero14-Feb-21 10:11 
AnswerRe: How To create a table in MS Access contain more than 255 filed ? Pin
Richard Deeming14-Feb-21 22:05
mveRichard Deeming14-Feb-21 22:05 
QuestionBootstrap - How do I make an icon a href link Pin
Jim McElhiney10-Feb-21 15:33
Jim McElhiney10-Feb-21 15:33 
AnswerRe: Bootstrap - How do I make an icon a href link Pin
Peter_in_278012-Feb-21 13:58
professionalPeter_in_278012-Feb-21 13:58 
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 
I'm stumped, and sort of shocked that PHP didn't like the value or type.
$sold_date in the the sql server table is defined as smalldatetime.
In the table, the value is 2/7/2008
I tried $sold_date->format('m-d-y') and it didn't like it.
I also searched and searched, and just found generic anwsers

Fatal error: Uncaught Error: Object of class DateTime could not be converted to string in C:\App\Dev\PCAD\project_update.phtml:427 Stack trace: #0 {main} thrown in C:\App\Dev\PCAD\project_update.phtml on line 427
echo "
 <td class='text-align-center'>
   <p class='margin-text-indent'> $sold_date </p>
 </td>";

My database call is
$row_proj = sqlsrv_fetch_array($res_proj);
$projectNumber = $row_proj[0];
$proj_stage = $row_proj[1];
$version_no = $row_proj[2];
$customerNumber = $row_proj[3];
$sold_date = $row_proj[4]; // FIXME - convert smalldatetime to string
$sales_no = $row_proj[5];
$swan_job = $row_proj[6];
If it ain't broke don't fix it
Discover my world at jkirkerx.com

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 

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.