39,320 Topics
| |
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 = … | |
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"> … | |
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 | |
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 … | |
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 … | |
| 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"> … |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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) … | |
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 … | |
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. | |
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 … | |
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. | |
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);` | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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> … | |
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{ … | |
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 = … | |
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 … | |
<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(); … | |
**Need assistance in using PHP to connect to webservice using SoapClient (I am kinda new to SOAP)** Here is the WSDL URL: https://uat.fiadmin.com/scs.webservice/ScsAutoService.asmx Here is the SOAP request from SoapUI with correct data in the fields: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:scs="http://www.natinc.com/SCSAutoService/"> <soapenv:Header/> <soapenv:Body> <scs:GetRates> <scs:objGetRatesRequest> <scs:UserId>VPP</scs:UserId> <scs:Password>jBH5Mspc</scs:Password> <scs:TpaCode>DEMO</scs:TpaCode> <scs:ErrorMessage>0</scs:ErrorMessage> <scs:ErrorCode>0</scs:ErrorCode> <scs:RequestGroup>0</scs:RequestGroup> <scs:Trim>0</scs:Trim> … | |
Hi I have one issue. I do not know how to solve and also no idea. It is my scenario. I have Product table with details,selling price, purchase price and so on. I want to invoice to clients. Clients can buy lots of item in single invoice. If I select … | |
i have database with catogiries like education,food,health how can i describe fields and inter connect the tables |
The End.