-
Replied To a Post in the java script library
http://vanilla-js.com/ -
Began Watching Ajax call returning unprocessed PHP
Hi all, Something disturbing is happening... I make an AJAX call to a page and it returns unprocessed PHP, not HTML. However, when I navigate to the page manually, the … -
Replied To a Post in Ajax call returning unprocessed PHP
So you are seeing <?php ... ?> as the responseText of the ajax call? Are you using htaccess for a redirect? Does your rule apply here? -
Began Watching AJAx forms
Hi all, I'm having some serious issues with AJAX forms. I'm currently using jQuery 2.2.0 and the jQuery Form plugin. I have a simple php file: <?php if(isset($_POST)): print_r(json_encode($_POST)); endif; … -
Replied To a Post in AJAx forms
If you have a demo page of this it would help. Otherwise, are you sure youre actually sending and receiving? If so, you may have to send headers making the … -
Began Watching Javascript fade in + zindex
Hi all, I have two square <div> containers one under the other. When I click a button, I would like the second <div> to fade on top. Because the top … -
Replied To a Post in Javascript fade in + zindex
Yeah. Don't use z-index. Instead, just do the opacity shift on both elements. The only way to make this work, though, is to make sure they are absolutely positioned, one … -
Replied To a Post in Help with the plain HTML form with JavaScript
also a note on this check (and similar) var fn = document.forms["form1"]["firstName"].value; if (fn == null || fn == "") { alert("First name must be filled out"); return false; } … -
Began Watching Help with the plain HTML form with JavaScript
Hi, I'm new to javascript that i didn't learn in college. My form can validate the first name, last name, and address line 1, but cannot validate the phone number … -
Replied To a Post in Help with the plain HTML form with JavaScript
Well.. the way you are doing it is requiring 11 digits exactly. This means you are expecing an area code that is in a "proper" format, being 1 first, then … -
Began Watching Encrypt $_GET parameter PHP
I have two questions does its possible to encrypt get parameter same like the passwords are? If NO whats the best method to do it i have simple parameter `articleID=1`, … -
Replied To a Post in Encrypt $_GET parameter PHP
SSL will do a number of things for you, including encrypting any plain text data moving between client and server. If you simply want to obscure (or have a referential … -
Began Watching Solution to a C++ program
Hai, Can anyone help me to solve this program. Write a function in C++ to count number of words starting with “amend” in the text file named as “Amendment.txt” Eg:- … -
Replied To a Post in Solution to a C++ program
Sounds like you need to learn how to read argvars, open a file handle, read a file handle, parse a string in a buffer, and increment a value. Good luck! -
Replied To a Post in Help With Stored Procedure
Then do an if check before the select that checks if its empty. If it is set the value to null. -
Began Watching Help With Stored Procedure
Hi, CREATE PROCEDURE `FindDuplicateExpenses`(IN `strExpenseDate` DATE, IN `strProfile` VARCHAR(50)) NO SQL SQL SECURITY INVOKER SELECT PD.Code, PD.ExpenseAuthorizedRefAmount, PD.FullName, PD.ExpenseDate, PD.ExpenseNatureID, PD.Ignore_Expense, PD.Profile FROM tblExpenses AS PD, (SELECT Profile, ExpenseAuthorizedRefAmount, FullName, … -
Replied To a Post in Help With Stored Procedure
try PD.Profile = ifNull(strProfile, PD.Profile) -
Began Watching HTML Data into textarea
Hello guys. I have a challenge here. I have a form that I want it to submit its information to a textarea below it and not in a database. How … -
Replied To a Post in HTML Data into textarea
Any HTML form has all of the values acessable through javascript. In your particular case, you have a form with the name "payment_form" so you can do something like this... … -
Replied To a Post in echoing extra unwanted details after checkbox submission
Then you need him to support his code. And not use awful error suppressing for no reason. If that code is producing errors, you got a lot of other things … -
Began Watching Image behind text
Hello lads, So i'm struggeling with the following. I want to get the text a little bit closer to the image, but since the image has whitespace itself and I … -
Replied To a Post in Image behind text
in: .thumbnail .info with the negative margin, also add "position: relative" -
Began Watching div align center bottom CSS
need to alight div inside another div inner div must be aligned centerd bottom of the outer div i have attached a image that i want -
Replied To a Post in div align center bottom CSS
https://jsfiddle.net/6jbgqz0g/ <div class="parent"> <div class="bottom"></div> </div> .parent { position: relative; display: block; width: 300px; height: 200px; background-color: #25f; } .bottom { position: absolute; width: 50px; height: 10px; left: 50%; margin-left: … -
Replied To a Post in PHP/MySQL login error
So at this point I'm gathering that you did not initially write this, nor do you understand how the static keyword works in php functions. In order to explain some … -
Replied To a Post in How to store array elements in MySQL database. in a single column
Some social media APIs (twitter) actually encourage this. Facebook is not one, however. But he may be data mining or using it for whatever reason.. -
Replied To a Post in How to store array elements in MySQL database. in a single column
So... solved? I don't think phpmyadmin shows blob text as text by default. You will need to figure out how to configure the query to show the blob as actual … -
Began Watching How to store array elements in MySQL database. in a single column
Hi I am trying to do the same thing. I would like to save the Facebook user timeline details OR messages in MySQL database. Timeline details are visible in screen … -
Replied To a Post in How to store array elements in MySQL database. in a single column
turn your array into a string, make your column a blob. On the retrieve, you will have to unstringify your array. The php methods you are looking for implode() and … -
Replied To a Post in DIV that goes through another div's perimeter?
You will need to communicate more clearly what you are trying to accomplish. The height of the inner boxes is irrelvant. I could have done 50% and given the container … -
Began Watching echoing extra unwanted details after checkbox submission
hya all i have sorted the checkbox group out and its echoing through ok but its also echoing through userid, username twice and email address when all i want is … -
Replied To a Post in echoing extra unwanted details after checkbox submission
Personally, I don't think you should be using the sesson variable like this. It is likely the root of your problem as well. If you need a "stateful" system, that's … -
Began Watching DIV that goes through another div's perimeter?
Since I English no good. I picture send you. How do I do? Just kidding. How could I put div through another divs perimeter by 20 pixels, 100 pixels or … -
Replied To a Post in DIV that goes through another div's perimeter?
All I see there is a container div and 3 child divs. Two relative positioned divs are block with height and width, one is absolutely positioned with appropriate margins / … -
Began Watching Warning: Cannot modify header information - headers already sent by (output
hi all ive tried different things to solve this like remove any white space in php but i cant seem to get rid of this error can anyone suggest anything … -
Replied To a Post in Warning: Cannot modify header information - headers already sent by (output
So I assume you know *why* this happens, but if not (and for future readers), I will state it: Any text output from PHP will also send along headers. Once … -
Replied To a Post in Verify if data sent by servers? How do bigger companies do that?
The whole point of the private key is that it is stored only on the desitination server (or, in oAUTH's case, it is also stored on the Provider's box who … -
Replied To a Post in PHP/MySQL login error
Of course... I was a bit tired when I wrote the above and re-reading it, I meant "when you try to insert a username already in the table it will … -
Replied To a Post in PHP/MySQL login error
Your second question is probably easiest to address: > You said something that is of interest to me: "allow multiple admins with the same username". I actually do not want … -
Replied To a Post in Verify if data sent by servers? How do bigger companies do that?
Ok, simple answer for you - they use TCP. By design and specification, TCP is required to reach the target in the specified order it was sent. In contrast, UDP … -
Replied To a Post in Verify if data sent by servers? How do bigger companies do that?
Likely because his personal private key did not match the key on the server, and the server did not originally care to authenticate. With a patch, they suddenly care, and … -
Began Watching Verify if data sent by servers? How do bigger companies do that?
As soon as I find out exact manner of communication between the server and the software. I realized how easy it is to use programs to intercept it, analyze it … -
Replied To a Post in Verify if data sent by servers? How do bigger companies do that?
Disclaimer: This is my understanding of how all this works - if I am mistaken, or uninformed, I would love to be better educated on the topic. So the way … -
Began Watching PHP/MySQL login error
My login script is displaying the following error message: Warning: Illegal string offset 'hash' on line 30. Here is the code that generates the error: <?php // configuration require("../../includes/config.php"); // … -
Replied To a Post in PHP/MySQL login error
Consider why you would get this result logically -- Your check states that if $rows is not an array, or the length of the array is NOT 1, then it's … -
Began Watching Phone seems to be ignoring overflow: hidden
The website weblup(dot)net/templates/template3 looks 100% correct on the computer thusfar. The overflow is hidden and you can't see the mobile menu bar or the pictures that slide in. But when … -
Replied To a Post in Phone seems to be ignoring overflow: hidden
you have no height, therefore the propery should be ignored. If it is not, then the ones adhering to your markup are likely at fault, or "figuring out" what you … -
Replied To a Post in Splitting array seperatley
You would need to iterate over your $data array.. soo... for ($Lup = 0; $Lup < sizeof($data); $Lup++) echo StringifyCartArray($data[$Lup]); Or some variance of that, depending on your need. -
Replied To a Post in Splitting array seperatley
it all depends on your data structure... I cant possibly answer your question without knowing more about how the data looks. From your example, your most basic data had only … -
Replied To a Post in Splitting array seperatley
In my opinion... extract() can be dangerous if you have an array key that matches a variable you already have in use in the namespace. In reality, all that extract …
The End.