We're a friendly, industry-focused discussion community of 1M+ developers and IT professionals learning and sharing knowledge. Ask us a question …

Member Avatar
Sponsored 15 Created
Hi all, Submitting forms to PHP is easy with Ajax. But what if I wanted to design my website to allow for JS-free web browsers? If I call a PHP file with Ajax, I might get an error message in return to dynamically add to the page, but if I … Article by James_43 in Web Development
Member Avatar
Hi, this was my previous post ... I heard it would make more sense if I put all the code on one line and worked … Article by Brian_18 in Community Center
So, in psuedocode. Set up your indent variables, start with 0 or what you what. Until EOF - read a line, strip leading and trailing white space. (tab, spaces). - output the intended spaces or tab plus this line. - if this line has brace, increment/decrement the indent counter for …
Member Avatar
Hi, this was my previous post ... I heard it would make more sense if I put all the code on one line and worked … Article by Brian_18 in Community Center
@rproffitt Yeah, I think you're right. Putting everything on one line isn't convenient. I'm still having a hard time checking for multiple braces and semicolons on one line though.
Member Avatar
Hi, this was my previous post ... I heard it would make more sense if I put all the code on one line and worked … Article by Brian_18 in Community Center
I think I could break your formatter with a comment since what if you ran into a commented out line of code and your new line breaker enabled that code. How about you use your prior code and where you read a line you remove spaces and tabs from the …
Member Avatar
Sponsored Donated to our Community; Thanks!
Member Avatar
Hi, this was my previous post ... I heard it would make more sense if I put all the code on one line and worked on it from there. I already have code that will indent properly, but I need code that will properly separate the text in Code.java This … Article by Brian_18 in Community Center
Member Avatar
Updated their Member Profile
Member Avatar
Updated their Member Profile
Member Avatar
Changed to a New Forum Signature
Member Avatar
Updated their Member Profile
Member Avatar
I'm trying to write a method that returns a sub lists and each containin the max value of strigns from a larger list. I'm using … Article by Ani_1 in Programming
... I see no call from the public printAnagrams function to the private function printAnagrams? I see no call anywhere to the private printAnagrams function. What am I missing? I see a recursive call from the public printAnagrams function to itself and it appears, at least to me, to be …
Member Avatar
any body help me to convert php multi dimensional array to php multi dimensional array format ... any body help to get this format Article by ramsiva in Software Development
If the title is correct, you want PHP multi-ary to JavaScript multi-ary (JSON perhaps)? Seems array example 2 may apply to your case... ...
Member Avatar
A 24 hex byte message entries: xx xx xx xx xx xx xx xx xx xx xx xx I have a 24 hex byte message entry into a textbox with different byte segment entry requirements, how to code dynamically the range of hex value I require for each segment e.g. … Article by imso in Software Development
c#
Member Avatar
A 24 hex byte message entries: xx xx xx xx xx xx xx xx xx xx xx xx I have a 24 hex byte message entry into a textbox with different byte segment entry requirements, how to code dynamically the range of hex value I require for each segment e.g. … Article by imso in Software Development
c#
Member Avatar
A 24 hex byte message entries: xx xx xx xx xx xx xx xx xx xx xx xx I have a 24 hex byte message entry into a textbox with different byte segment entry requirements, how to code dynamically the range of hex value I require for each segment e.g. … Article by imso in Software Development
c#
Member Avatar
any body help me to convert php multi dimensional array to php multi dimensional array format ... any body help to get this format Article by ramsiva in Software Development
If the title is correct, you want PHP multi-ary to JavaScript multi-ary (JSON perhaps)? Seems array example 2 may apply to your case... ...
Member Avatar
any body help me to convert php multi dimensional array to php multi dimensional array format ... any body help to get this format Article by ramsiva in Software Development
If the title is correct, you want PHP multi-ary to JavaScript multi-ary (JSON perhaps)? Seems array example 2 may apply to your case... ...
Member Avatar
I'm trying to write a method that returns a sub lists and each containin the max value of strigns from a larger list. I'm using iterator and backtrack recursion to achieve this, however - I'm not familiar with backtrack recursion. Any suggestions on how to make this work. Or if … Article by Ani_1 in Programming
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …
Member Avatar
42 Edited a Post in Login form
Sir, please help me to locate the error, if user not found or wrong user name password etc then all codes work fine but when … Article by phphp in Web Development
Is index.php located in the same folder? Have you tried to simply echo instead of setting session vars and redirecting? Have you tried absolute or explicit relative URLs to rule out domain/scope issues (e.g. ... or ./index.php instead of index.php)? Are there any console errors or flags in network queries …