Click here to Skip to main content
15,878,959 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: MVC control libraries Pin
Richard Deeming18-Dec-20 3:04
mveRichard Deeming18-Dec-20 3:04 
GeneralRe: MVC control libraries Pin
#realJSOP18-Dec-20 3:46
mve#realJSOP18-Dec-20 3:46 
GeneralRe: MVC control libraries Pin
Richard Deeming18-Dec-20 3:49
mveRichard Deeming18-Dec-20 3:49 
GeneralRe: MVC control libraries Pin
#realJSOP19-Dec-20 2:10
mve#realJSOP19-Dec-20 2:10 
GeneralRe: MVC control libraries Pin
#realJSOP20-Dec-20 3:51
mve#realJSOP20-Dec-20 3:51 
QuestionDebugging two ASP.NET projects with Chrome - Failed to launch debug adapter Pin
glen20516-Dec-20 21:55
glen20516-Dec-20 21:55 
AnswerRe: Debugging two ASP.NET projects with Chrome - Failed to launch debug adapter Pin
F-ES Sitecore17-Dec-20 22:51
professionalF-ES Sitecore17-Dec-20 22:51 
QuestionPHP4.3 Mod, coloring table rows Pin
jkirkerx1-Dec-20 9:29
professionaljkirkerx1-Dec-20 9:29 
I'm trying to diagnose an issue with a mod I wrote.
So I start with $rs2 = -1, then I increment $rs2, but when I print $res2 in the table cell, $rs2 goes ...
0
1
0
1
1
1
1
1

I thought since $rs2 is the origin number to feed into mod, that the number should increment.
0
1
2
3
4
5
6
7

It's works on the other function with the same mechanics here. Just not this one.
I haven't worked PHP since 2005, so I'm a bit rusty.
// Flip the BG Color of each row
$rs2++;
$stripe2 = ($rs2 % 2 == 0) ? "rowStripe" : "";

echo "            
    <tr>
        <td class='report-table-body-20 $stripe2'>
            <p class='report-table-body-p'> $rs2 $equip_cat_name</p>
If it ain't broke don't fix it
Discover my world at jkirkerx.com

AnswerRe: PHP4.3 Mod, coloring table rows [solved] Pin
jkirkerx1-Dec-20 9:34
professionaljkirkerx1-Dec-20 9:34 
AnswerRe: PHP4.3 Mod, coloring table rows Pin
Richard Deeming1-Dec-20 21:55
mveRichard Deeming1-Dec-20 21:55 
GeneralRe: PHP4.3 Mod, coloring table rows Pin
jkirkerx2-Dec-20 8:30
professionaljkirkerx2-Dec-20 8:30 
QuestionHow to insert roles in php and mysql? Pin
Nicolas Veloso16-Nov-20 6:04
Nicolas Veloso16-Nov-20 6:04 
SuggestionRe: How to insert roles in php and mysql? Pin
Richard Deeming16-Nov-20 21:51
mveRichard Deeming16-Nov-20 21:51 
QuestionBlazor SPA Pin
Super Lloyd16-Nov-20 1:26
Super Lloyd16-Nov-20 1:26 
QuestionDesign questions about asp.net core website and asp.net core webapi Pin
instantmaker13-Nov-20 9:04
instantmaker13-Nov-20 9:04 
AnswerRe: Design questions about asp.net core website and asp.net core webapi Pin
Afzaal Ahmad Zeeshan14-Nov-20 1:50
professionalAfzaal Ahmad Zeeshan14-Nov-20 1:50 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker14-Nov-20 2:49
instantmaker14-Nov-20 2:49 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
Afzaal Ahmad Zeeshan14-Nov-20 3:17
professionalAfzaal Ahmad Zeeshan14-Nov-20 3:17 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker16-Nov-20 13:03
instantmaker16-Nov-20 13:03 
AnswerRe: Design questions about asp.net core website and asp.net core webapi Pin
Leif Simon Goodwin22-Dec-20 7:17
Leif Simon Goodwin22-Dec-20 7:17 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker22-Dec-20 7:34
instantmaker22-Dec-20 7:34 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
Leif Simon Goodwin22-Dec-20 9:07
Leif Simon Goodwin22-Dec-20 9:07 
GeneralRe: Design questions about asp.net core website and asp.net core webapi Pin
instantmaker22-Dec-20 10:39
instantmaker22-Dec-20 10:39 
QuestionDesign question with asp.net core and asp.net core api Pin
instantmaker13-Nov-20 6:18
instantmaker13-Nov-20 6:18 
QuestionI keep getting a “Call to undefined function..” error displaying Pin
IAmSirAskAlot9-Nov-20 18:25
IAmSirAskAlot9-Nov-20 18:25 

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.