39,323 Topics

Member Avatar for
Member Avatar for junaid_5

Hi i have this image upload script, its giving me errors. this script should get description of the image from user and upload image to database. please someone could take a look at my code. i really messed up the code. i am puzzled now. <?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > …

Member Avatar for broj1
0
140
Member Avatar for suresh9696

I have added some PHP code to JS for countdown timer. I have set the End Time Successfully but could n't set the Start Time can any one here Help me out. As we know JavaScript take system date/Time by Default. i need to get that from server. So here …

0
101
Member Avatar for mwnt2014

Working on wordpress.. Want to set homepage when i click the templates. ..Templates are under dropdown menu.

Member Avatar for pzuurveen
0
124
Member Avatar for hallianonline

Helllo I am getting Warning: Cannot modify header information - headers already sent by error on header("location: sucessful_registration.php"); line please help me how can i fix it function NewUser() { $full_name = $_POST['full_name']; $user_name = $_POST['user_name']; $password = $_POST['password']; $email_address = $_POST['email_address']; $phone = $_POST['phone']; $address = $_POST['address']; $city = …

Member Avatar for pritaeas
0
146
Member Avatar for engrjd91

Hello, i have a login page for home i have created a database and connected my database to it. My code is: **LOGIN.PHP** <!DOCTYPE html> <html lang='en'> <head> <meta charset="UTF-8" /> <title> HTML Document Structure </title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <form name="login-form" class="login-form" action="check_user.php" method="post"> …

Member Avatar for engrjd91
0
405
Member Avatar for nalini@121

Hi, Can anyone help me for uploading files into different folders using Code Igniter. Right now all files goes into a single folder insted of different folder even I have set path for them in config variable. Thanks

Member Avatar for A@DFGFGN.IN
0
5K
Member Avatar for nadiam

Hi guys so i have 2 tables in my page. One table would be populated by names from database and another remains empty for the moment. so what i want to be able to do in this page is that names can be dragged and dropped from the first table …

Member Avatar for nadiam
0
2K
Member Avatar for sunita_3

here i want to generate a graph using highchrats library.my graph is spline with column chart (combo chart).but my graph not generate with my code.so please check my code where is i am wrong.i think i am wrong in jason code..but i have a little bit knowledge in json .so …

0
112
Member Avatar for champmanking

Hey. I need help coding a php script that receives a URL from a form then displays all the images(jpeg, png and gif) from that webpage. I don't need to images to be saved. This is what I already have: form.html <html> <head> </head> <body> <div id="form"> <form action="view.php" method="get"> …

Member Avatar for yessi_1
0
257
Member Avatar for Lee_7

Hi, I'm trying to working with the Tripletex API. Also see our topic : http://www.daniweb.com/web-development/php/threads/444996/tripletex-with-php When i tried log in, It's ok. and response an array. But the problem is : in the header of this response, i can not see any cookie, session about my log in. So i …

Member Avatar for Lee_7
0
168
Member Avatar for nadiam

hey guys so im getting > Notice: Undefined index: spouse-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 18 > Notice: Undefined index: spouse-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 24uoted Text Here > Notice: Undefined index: child-salutations in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 30 > Notice: Undefined index: child-state in D:\Xampp\htdocs\EMS2\add_contact_process.php on line 36 and its really …

Member Avatar for nadiam
0
796
Member Avatar for mark103

I need some help with set up the date format. I'm still trying to find out how I can set up the format to the next day, the day two and the day three date when I work out with the hours. Example: I set up the date format from …

Member Avatar for diafol
0
271
Member Avatar for nufftalon

I have a form that has embedded php Above html tag I have the following code: <?php if(isset($_POST['sendit'])){ $fname = strip_tags($_POST['fname']); $lname = strip_tags($_POST['lname']); $address = strip_tags($_POST['address']); $cityname = strip_tags($_POST['cityname']); $state = strip_tags($_POST['state']); $zipcode = strip_tags($_POST['zipcode']); $phonenum = strip_tags($_POST['phonenum']); $cellnum = strip_tags($_POST['cellnum']); $worknum = strip_tags($_POST['worknum']); $eaddress = strip_tags($_POST['eaddress']); $grad = …

Member Avatar for nufftalon
0
289
Member Avatar for extjac

I have a table that will have several fields, such as counties, age_groups, gender, sports, etc.. on countries I will be storing data with this format["US","CA","DK","FI","RU","SE"] on age groups I will be storing data with this format["2000","1999","1998"] on age groups I will be storing data with this format["M","F"] on age …

Member Avatar for extjac
0
154
Member Avatar for andrew0136

Look, Im pretty new to php and sql and need some help. Im trying to make a database that can store contact details of potential customers that are interested in a specific category. My problem is inserting muliple checkbox data into the database. My PHP and form (all in AddContact.php) …

0
72
Member Avatar for FaisalSarfraz

Hi all!! I am building a media player in flex that uses video streaming through rtmp:// I want to get its bandwidth usage but found out that we can't get bytes loaded for video streaming. Is there any way to get it through php or js? I mean php gets …

0
129
Member Avatar for momonq1990

gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php but in offline its working the file upload was move to my localhost folder.

Member Avatar for hafiztn
0
388
Member Avatar for developer707

Hello to everyone, Currently I am working with bootstrap. I generate a list with users. My issue is that when I click on delete a popup confirmation is shown but I don't know how to get the id of the user that I am trying to delete. I have seen …

Member Avatar for developer707
0
390
Member Avatar for davy_yg

Hallo, Does anyone knows how to secure xampp - I mean for web server ? How to place password on it ? I am just want to secure my database. Thanks before.

Member Avatar for davy_yg
0
148
Member Avatar for arafath077

Im using wunderground.com weather API. I got JSON to an array.buy i coudlnt echo arrray one by one. these the sample code to i used in my site `$json = file_get_contents("http://api.wunderground.com/api/ab3f1aefcf4033d4/forecast10day/q/CA/San_Francisco.json"); //$phparrya = json_decode($jsonstring); $array_json=json_decode($json, true); print_r($obj);`

Member Avatar for arafath077
0
222
Member Avatar for Pravesh_1

I developed a shopping cart using jquery, ajax and json. It is working fine on local server in chrome. But when I run on server using chrome it is not doing anything; but running on firefox. It is not running first time, but when I came back from another page …

Member Avatar for diafol
0
2K
Member Avatar for extjac

Hello! I have a table called Events and one of the colums is called "country". I want to be able to query events based on the user country. So eventID #1 might have "country" = US, CA, MX (multiple values), so if a user is from the US logs-in will …

Member Avatar for diafol
0
507
Member Avatar for surferbloggy

Hi, i need a quick help to configure a Facebook app when i go to the Facebook address it is this in the screenshot a gray page everythig seems right but the game is not shown i’ve added this code to the index.php with the right ids but nothing if …

Member Avatar for Hemendra_1
0
315
Member Avatar for mpike

Alright I apologize for the completely uninformative title but i had no idea what to call it. Basically I have an array with multiple values and I only want information to be sent from certain forms if a certain value is met in the array. <?php if(isset($_POST['cb1'])) { $cb1 = …

Member Avatar for world_weapon
0
382
Member Avatar for nadiam

hey guys so im trying to insert data from my contact form into database depending on radio button. as u can c i have 2 radio button both under "spouse ?" and another under "child ?" now when user clicks on "yes" another form pops up for each title respectively(form …

Member Avatar for pzuurveen
0
595
Member Avatar for tronghiep92

I problem AJAX jquery. How block run AJAX from console.log EX test on localhost: **file index.html:** <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script> $(document).ready(function(){ var btn = $('button'); btn.on('click', function(){ $.ajax({ url : 'process.php', type : 'post', data : {id : 1}, success: function(data){ console.log(data); } }); }); }); </script> </head> <body> <button>CLick</button> </body> …

0
69
Member Avatar for smutolo

I found a php class that seems to help me achieve my objective of doing an advanced search of my database <?php class search { var $table; var $field1; var $field2; function queryRow($query){ //define database settings define("host", "xxxxxxxx"); define("login", "xxxxxx"); define("senha", "xxxxxxx"); //define database name define("data", "xxxxx"); //conection routine try{ …

Member Avatar for diafol
0
2K
Member Avatar for hsakapandit

I have arrays and variables in JQuery and I want to know that Can I POST both arrays and variables from single $ajax jquery request to my php page. If yes then How will I post data from Jquery and how will i handle in PHP page. var get_id = …

Member Avatar for hsakapandit
0
791
Member Avatar for surferbloggy

Hi, i have done a wordpress plugin i'd like to localize so i've foun this useful link about it [Click Here](http://premium.wpmudev.org/blog/localize-a-wordpress-plugin-and-make-it-translation-ready/) it explain about localize the static txt of the plugin but my plugin manage contents stored in 2 db tables if the user would save this content in 2-3 …

0
131
Member Avatar for chaitu11

<form> Select Project:* <select name="project_id" id="project_id" > <option value="0">Select Project</option> <option value="1">a</option> <option value="2">b</option> <option value="3">c</option> </select> Select Week*: <select name="week" id="week_id"> <option value="0">Select Week</option> <option value="1">This Week</option> <option value="2">Last Week</option> <option value="3">2 Weeks back</option> </select> </form> <script type="text/javascript" src="js/jquery-latest.js"></script> <script> function showValues() { var str = $( "form" ).serialize(); …

Member Avatar for pzuurveen
0
349

The End.