39,316 Topics

Member Avatar for
Member Avatar for Priti_P

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 …

Member Avatar for JorgeM
0
216
Member Avatar for daniel36

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.

Member Avatar for Vignesh_2
0
170
Member Avatar for jaspertan

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'); …

Member Avatar for nadiam
0
210
Member Avatar for everton.retweets

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 = …

Member Avatar for everton.retweets
0
5K
Member Avatar for everton.retweets

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 …

0
101
Member Avatar for Ouwgel
Member Avatar for almostbob
0
8K
Member Avatar for ms061210

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 …

0
117
Member Avatar for jKidz

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 …

0
90
Member Avatar for Sikander Nasar

I am facing the problem that the scroll is not moving to the top if any validation error occur.

Member Avatar for DJBirdi
0
130
Member Avatar for SimonIoa

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 …

Member Avatar for fobos
0
119
Member Avatar for SimonIoa

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 …

Member Avatar for fobos
0
344
Member Avatar for DarkSlash

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 …

0
117
Member Avatar for berserk

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 …

Member Avatar for Jack_9
0
223
Member Avatar for rjusman90
Member Avatar for vizz

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 …

Member Avatar for veedeoo
0
130
Member Avatar for berserk

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 …

Member Avatar for berserk
0
358
Member Avatar for hanspeare_1

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 …

Member Avatar for hanspeare_1
0
112
Member Avatar for Juliana20

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() …

Member Avatar for rubberman
0
258
Member Avatar for lilapontes

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 …

Member Avatar for rubberman
0
170
Member Avatar for sundeep.gurroby

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 …

Member Avatar for diafol
0
291
Member Avatar for Excizted

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 …

Member Avatar for Excizted
0
1K
Member Avatar for Jerome_3

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.

Member Avatar for Jerome_3
0
295
Member Avatar for berserk

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)); // …

Member Avatar for diafol
0
2K
Member Avatar for vizz

I have following tables for photo album script. How to display Album title and album cover inside anchor tag? (Display Albums cover on homepage and redirect to gallery page, when clicked, to see images inside that album) * get id of album * get album title * get album cover …

Member Avatar for diafol
0
229
Member Avatar for Himanshu Chawla

**I want to track Email if opened by user and increase the count in my database.** **I have tried a lot a things like image sending and bgsound but none of them worked. But now i will do with the help of image sending. I am not getting the idea …

Member Avatar for iamthwee
0
244
Member Avatar for brugernavn

Hello, I am trying to "transfer" geolocation-data to a php script. I think, that the reason it wont work is, i can't get the varible from outside the function. So far, i got this code. How do i get it to work?! :) <body onload="office_getLocation()"> <script src="min.js" type="text/javascript"></script> <script type="text/javascript"> …

Member Avatar for DJBirdi
0
504
Member Avatar for learner001

I have a server script with which i have allowed the user to mark any item as favorite, but i also want another script through which the user can unfavorite the same item if they want and that item should be deleted from their favorite list. I have kept the …

Member Avatar for learner001
0
999
Member Avatar for ditty
Member Avatar for rtrethewey
0
123
Member Avatar for sundeep.gurroby

Trying to create a registration page...but i notice that Data is being sent to database on page load. I would like this to happen when the user click on Register button. What am i doing wrong...any solotion please? My database is below and code is also below: <?php require_once('Connections/bankusers.php'); ?> …

Member Avatar for sundeep.gurroby
0
257
Member Avatar for giovannitao_1

Hello, I try to explain my situation. I need to insert multilanguage support in my php site. I used this script called common.php: <?php session_start(); header('Cache-control: private'); // IE 6 FIX if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = $lang; setcookie('lang', $lang, time() …

Member Avatar for giovannitao_1
0
193

The End.