39,323 Topics
| |
This is a really basic question. I validate evrything from my form in javascript so no validation is going through php. The problem is, when the user submits the form ajax has already checked is the username has already been taken or and gives them a message if it is. … | |
help me..view direction and marker on database mysql? | |
Hello. I have and event.php page and del_single.php page. event page has a form: <form action='del_single.php' method='get'>//<-i already have the method as get <input type='hidden' name='event_id' value='$id'> <input type='checkbox' name='check[]' class='check' value='$id'> <a href= '#' value='$id' name='e_n' onclick='getsum(".$id.")' >$name</a> <label>$formatDate</label> <input type='submit' name='del_single_event' value='Delete'> </form> as you can see i … | |
Hi all, I have made a web-service in php. I had run a load test on the same by using testing tool Jmeter. And got the result in as graph, please help me to analyze the graph. It shows 3 important parameters that are 1)Deviation, 2) Median and 3) Average. … | |
I want to make a payment method for bank transfer using php. | |
Hello. right following [this post](http://www.daniweb.com/web-development/php/threads/481499/form-action-is-on-a-different-page) that i posted up just now, i wanted to edit the question but then i couldn't anymore. sorry if that annoys anyone. anyway, i was thinking of putting all the php scripts into one page and googled and found [this on stackoverflow](http://stackoverflow.com/questions/8152260/having-multiple-scripts-within-one-php) and implemented it … | |
Hi can anyone give me an idea on how I can come out with an output like this: $string = string1-1/string3-3/string3-3/ //this is the original string from DB //i want to split the strings and put it in the array, and the array should look like this Array[0] = String … | |
Hello, I want to use spinner while process foreach loop in php. My functing is: I am creting events using google calendar API in php. for each of my array values I am creating event. and after each event create there is one sleep(5). in this foreach loop I want … | |
I have made a code to upload video with the help of w3schools.but It is not working great to upload mp4 video upto 300MB.Can any one provide me solution? or any opensource script to upload file. | |
Hi to all i experience this kind of error when i tried to add the data to database using for each here is my code. $org = Input::get('orgname'); $orgs_date = Input::get('orgsattended'); foreach($org as $o=>$von){ DB::table('orgs')->insert(array( 'personnel_id' => $personnel_id, 'orgs_name' => $von, 'date_attended' => $org_date[$o] ) ); } $skillname = Input::get('skillname'); … | |
Hi, I am trying to update a simple mysql query using PHP PDO The simple query read $query = mysql_query("SELECT * FROM tbl_name WHERE oauth_provider = 'twitter' AND oauth_uid = ". $user_info->id); My PHP PDO query reads $STM = $dbh->prepare('SELECT * FROM tbl_name WHERE oauth_provider = :op AND oauth_uid = … | |
Hi Everyone, I am trying to create a twitter login app, I have the app created and I can log into my app, But what I would like to do is create a number of session virables so I can use the information in my app. When a user authenticates … | |
<p>How to show pdf file in web page? ex: www.scribd.com</p> | |
Hi, can someone explain to me why my code is returning wrong output. I want this code, First I have additional UPDATE query for a category 10, if it is not category 10 then it should ignore the update code. It is running correct if I input an item which … | |
Hi Friends, Most of our school's old boys are in abroad. So there have no chance to get updated about our school's cricket matches. So I am willing to have a real time cricket scoring system. Do you know any free Cricket Scoring system that can display a scores in … | |
I am facing the problem that the scroll is not moving to the top if any validation error occur. | |
I want to make a search option. this is my statement in php $FILTER AND $ORDER are working perfectly. The statement too. else if (isset($_POST['search_all'])) { $Filter .= " AND M.title LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.idate DESC"; } and this is the html … | |
Can you tell what do i do wrong? this is the statement if (isset($_POST['search_all'])) { if (empty($_REQUEST['src_all'])) { echo "<p>You forgot to enter a search term</p>"; } elseif (!empty($_REQUEST['src_all'])) { $Filter = " M.message LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.created DESC"; } } this … | |
I'm working with a MS SQL database that was done by another developer. Im developing a website that interacts with that database. I need to use a stored procedure called LoginR that takes 3 input parameters (LoginName and Passwords) and returns the NickName in the third value. But also, has … | |
Ok i know this question might be riddled with ignorance but please bare with me. How to i go about deploying my php application i have developed, do i make it into an executable that can be installed on user machines, or do i just set it up like a … | |
please help me out by giving a very easy code | |
I have registered custom TLD like, **.com, .in, .co** I have servers to deal with DNS setting. Now I want to allow people to register their domain under my custom TLD. e.g. abc**.xyz** So I need web registry software to allow registering domains under tld, **`.xyz`** I want to do … | |
hey i have this code that always evaluates to true but it should only in the case of there being a value in the database i have selected, maybe im doing this wrong or maybe its something else but i cant seem to figure out the problem :( any assistence … | |
Hello everyone, I am confused with these little codes why it keeps error in updating the learner information. These are my codes so far. These are the bits of Student_Info.php which i think would be useful in my query. <?php if(!empty($_GET['flag']) && $_GET['flag'] == "success") { ?> <span class="stylered style1"><span … | |
I'm new at this language and I canĀ“t understand this warning: Warning: Cannot modify header information - headers already sent by (output started at /Applications/AMPPS/www/.../users.php:316) in /Applications/AMPPS/www/.../phpgraphlib.php on line 213 I want to show some graphs about temperature, but appears the message above. Here's my code: phpgraphlib.php protected function initialize() … | |
Have an inbound campaign. Agent gets the phone number from customer and I need to create php code to search that number in a table in Sql, display name, address and insert ANI, date, start time, end time of the call, agent-id and result code. All I know about php … | |
| Hi guys, always a big thanks for your input. Really appreciate as always. Ok my issue today is with the password_hash function which randomly generate a salt before encryption. I am creating a user registration form...i need to protect the password before it is saved to the database when user … |
Hello, I hope someone is more knowledgeable in Java than me while still knowing PHP! The following Java code makes a hash from a string, and I need a PHP equivalent that makes the exact same hashes. Simply md5() does not do the trick, and I looked at some PHP … | |
I have read from different forums, PHP website and Microsoft website how to connect PHP to MS SQL Server but the provided solutions didn't worked for me. If you could help me in this would be greatly appreciated. | |
I need to add a check box on the end of each value in my html table that will be checked if the user would like to remove that value from the mysql database, my current cod elooks like this: <?php $con = mysqli_connect("localhost", "root", "", "numbers") or die(mysqli_error($con)); // … |
The End.