52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chaitu11

http://stackoverflow.com/questions/32432100/facebook-after-login-redirects-to-codeigniter-3

Web Development php social-media
Member Avatar for Dani
0
293
Member Avatar for shany0786

Question is not new but i can't make it work.I have registration form along with user registration form i also have a upload picture options.These are views // view for user data <form action="<?php echo base_url('Camping_register/register') ?>" method="post"> <h2>Camping <span class="red"><strong>Rent Details</strong></span></h2> <label for="business_name">Business Name</label> <input type="text" id="business_name" name="business_name" placeholder="enter …

Member Avatar for diafol
0
975
Member Avatar for FarrisFahad

Hello, I have created a small CSS checkbox and radio buttons. But the problem is that when I check only one, all of them check with that one. So I can't check a single box. Can you check the code a tell me what is wrong. here is the page …

Web Development html-css
Member Avatar for diafol
0
244
Member Avatar for James_43

Hi all, I am using the PHP Facebook SDK to login users. A login button validates the user and returns to a callback 'fb-callback.php'. On this page, I dump the returned data into a mySQL table, start a Session, and redirect to the homepage. As a test, I stopped the …

Web Development php session social-media
Member Avatar for James_43
0
242
Member Avatar for Violet_82

Hi all, I've decided to start another thread for my old health app https://www.daniweb.com/web-development/aspnet/threads/496278/building-first-mvc-application as the old thread was pretty confusing and didn't lead me anywhere. With the knowlegde coming from developing the previous simple book review app here https://www.daniweb.com/web-development/aspnet/threads/497464/much-simpler-first-mvc-application I've also decided to take a different approach: I'll build …

Web Development asp.net
Member Avatar for pritaeas
0
322
Member Avatar for Behseini

Hi everyone, Can you please let me know how I can assign the selected value from a dropdown list into a $variable and print or echo it in the screen For Example if I have a dropdown list of years like: [CODE] <?php $years = array(); for ($i = 1900; …

Web Development display html-css php
Member Avatar for dheerajvermawd
0
23K
Member Avatar for Violet_82

HI, I've just run into something peculiar. Let me explain the functionality of the site I'm working on first http://antonioborrillo.co.uk/agency_test/home.html . Every time the site gets resized - if you resize the browser window or if you change orientation on the device you 're using - I recalculate the height …

Web Development android javascript
Member Avatar for Violet_82
0
207
Member Avatar for Adolfo_1

Hello....HELP, i have a script for saving textarea, but give me error and php is hardy for me: * Notice: Undefined index: page in C:\wamp\www\* *Warning: file_get_contents(): Filename cannot be empty in C:\wamp\www\.....* THE FORM HTML ... FOR CALL THE FILE <form action="" method="POST"> pagina: <input type="text" name="page" value="" /> …

Web Development php
Member Avatar for Adolfo_1
0
1K
Member Avatar for davecoventry

I'm trying to resize uploaded images so they fit into a slideshow. Specifically, I'm interested in the height of the image as the slider doesn't handle different heights too well. So I've implemented the code below: <?php function resizePhoto($ht,$fname,$dest,$pref,$SRCPath){ $image_path=$SRCPath.$fname; $image_atts=getimagesize($image_path); if(!$image_atts[0]){ echo 'Image data is corrupt, cannot process file:'.$fname; …

Web Development php
Member Avatar for davecoventry
0
329
Member Avatar for UK-1991

Hello, I am trying to update or delete item from cart but it;s not oking session_start(); include("includes/layout/header.php"); include_once("includes/connection.php"); function get_product_name($pid){ global $connection; $result=mysqli_query($connection, "select product_name from products where prod_id=$pid"); $row=mysqli_fetch_array($result); return $row['product_name']; } function get_price($pid){ global $connection; $result=mysqli_query($connection, "select product_price from products where prod_id=$pid"); $row=mysqli_fetch_array($result); return $row['product_price']; } function get_order_total(){ …

Web Development php
Member Avatar for minitauros
0
173
Member Avatar for James_43

Hi guys, I can't get passed this error: Call to a member function bind_param() on a non-object. I have spent hours looking for insights, and can see that my $statement returns FALSE, but have no idea why? My understanding of PHP is limited, so it might help if I actually …

Web Development mysql php
Member Avatar for James_43
0
277
Member Avatar for LibraryCode

Hi all i generated table,but it looks like the code is a bit messy,long,how can i do the same with the arrays or loops? <html> <head> <meta charset="UTF-8"> <title></title> <style> table{border-collapse: collapse;} tr th, tr td{border: 1px solid black;} #resize { width :100%; position: relative; } </style> </head> <body> <?php …

Web Development php
Member Avatar for LibraryCode
0
937
Member Avatar for Djipson Steven

Hello, I have a database with MAMP and I have created a music table which contains musicId and musicUrl columns. Now in my websiteI created an HTML player that gets its sources from "src" syntax. The player is fixed at the bottom just like soundcloud player. I want to display …

Web Development javascript php
Member Avatar for phoenix254
0
140
Member Avatar for AntonyRayan

Hi, good morning, Dynamically I pass student id, subject id, subject marks. for example, assume that there are 50 students in a class, subjects are 5. so that 5 fields are there to enter 5 subjects mark. and the total will calculate automatically. while storing in database , I have …

Web Development
Member Avatar for hericles
0
172
Member Avatar for LibraryCode

Hi,i have a table like this : <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title></title> <style> table{border-collapse: collapse;} tr th, tr td{border: …

Web Development html-css javascript
Member Avatar for LibraryCode
0
962
Member Avatar for quangtuanphung

**First Page** <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> </head> <body> <h1> Register </h1> <form method="post" action="welcome.jsp"> <table> <tr><td>Email</td><td><input type="text" name="email"></td></tr> <tr><td>Full name</td><td><input type="text" name="name"></td></tr> <tr><td>Password</td><td><input type="password" name="password"></td></tr> <tr><td rowspan="2">Gender</td><td><input type="radio" name="gender">Male</td></tr><tr><td><input type="radio" name="gender">Female</td></tr> …

Web Development java-jsp javascript
Member Avatar for ihelpyou
0
269
Member Avatar for muralibobby2015

Hello, I am using phpwhois lookup to fetch details of an ip and i am very much successful in it. But i need to detect whether the ip belong to an individual or any organization. For example if i browse my tracking website from home it is my individual ip …

Web Development php
Member Avatar for muralibobby2015
0
772
Member Avatar for SimonIoa

Hello i have implemented a Facebook invite friends script to my website so that my users may invite their facebook friends to the website. The scripts show only one of the friends and there is no option (link or what ever) for the user to invite even the one friend …

Web Development api javascript social-media
0
127
Member Avatar for Jiby_1
Member Avatar for anmol.raghuvanshi1

I have user form which has hide/show toggle form it's the will of user to fill that part. when i click on button Tent gear which hides and shows form there is save button if user filled the form and click on" save" without refreshing page i want data to …

Web Development iphone php session
0
106
Member Avatar for LibraryCode

Hi,could anyone tell me please what is the most common and good way to create HTML table from php array.And how to fill it with randomly generated numbers.? Regarding the table so many posts online,but which is the best approach?Thanks.

Web Development html-css php
Member Avatar for diafol
0
7K
Member Avatar for amitpatel1849

Hello There, I would like to move my working website from php 5.2 to 5.5? Is any one kow that what should i take care for same. Thanks in Advance. Amit

Web Development php
Member Avatar for diafol
0
43
Member Avatar for Pramod_7
Member Avatar for ramsiva
Member Avatar for almostbob
0
217
Member Avatar for kathymac

Hi I have an html file with a complex table structure. I read in the html file in and then render the contents using WriteHTML.php It turns out quite differently. ex: width, font size, nested tables (don't seem to be working). I am stuck and don't know how to fix …

Web Development pdf php
Member Avatar for Aeonix
0
792
Member Avatar for Liang_1

Dear all, I have created a website where I would like my users to register and upload profile images to my server and then store it under folder in my server known as "images" and then save the dataurl of the images into MySQL database. Then, I would display their …

Member Avatar for almostbob
0
381
Member Avatar for Rizi004

Hi There! I have a e-commerce website that is live and now i want to upload that live store in sub-directory for the purpose of development. Live sote is like www.abc.com now i want to copy this store to www.abc.com/dev/v2/ I copy all the files in this new directory and …

Web Development ecommerce file-system php
Member Avatar for scotv
0
314
Member Avatar for gtel

We're currently having a management system project, and i'm at a dilemma whether to use PHP or Java. My concerns are these: 1) What if the admin of the management system will do something foolish from his home (if the system is through php/web), since he can just access it. …

Web Development php
Member Avatar for gtel
0
132
Member Avatar for LibraryCode

How do i compute frequency of the numbers in the range,let's say 10-19,using rand number generator array with 50 int? I have this code so far: $arr = array_fill(0, 50, NULL); for ($i = 0; $i < 50; $i ++) { $arr[$i] = rand(10, 19); } but not sure if …

Web Development php
Member Avatar for diafol
0
173
Member Avatar for LibraryCode

Hi all,i tried to do some research regarding associated arrays in php,even manual on the php documentations,but can not find the answer,how do i print the smallest value and the associated key from the array?

Web Development php
Member Avatar for diafol
0
225
Member Avatar for Violet_82

Hi all, I wonder if you can help me at all, as I run into an annoying problem. I created an automated crossfade but when I click on the controller I want it to change into a manual one, but unfortunately the manual one doesn't work as expected. You can …

Web Development javascript
Member Avatar for Violet_82
0
277
Member Avatar for Liang_1

Dear All, I have a form use for uploading photos to my website. But I would like users to fully filled in the selection only then the "Submit" or "Upload" button will be activated. How can I do this? Below is my code: <form name=Image enctype=multipart/form-data method=POST> <table cellspacing=2 cellpadding=2 …

Web Development gui php
Member Avatar for hericles
0
315
Member Avatar for w33n

Hi all, I am wondering if I need to make multiple copies of the same include xxx.php (navigation) file in order to highlight which page the user is on. Using an include seems almost unnecessary if I do. Can you please let me know. Thank you. B

Web Development php
Member Avatar for almostbob
0
270
Member Avatar for kathymac

Hi I am using html2pdf to convert php output to a pdf. When I run this code without injecting any other php code it works fine. However, prior to creating a pdf, I need to find the the current user and display variables based on that id. I wrote code …

Web Development html-css pdf php
Member Avatar for Taywin
0
147
Member Avatar for anmol.raghuvanshi1

This is opinion based question. I am working in Codeigniter framework I have multi-step user registration form What i am doing is collecting all data in session array validating it and inserting in database.Till now all things are working fine but now i have added image upload form along with …

Web Development file-system php php-codeigniter
Member Avatar for diafol
0
4K
Member Avatar for anmol.raghuvanshi1

I need some guidance in this I have registration form in which there will be button clicking on which open a new form without refreshing a page and again clicking on same button hides form it's user will to fill that form.Here is snapshot what i actually want.I want to …

Member Avatar for diafol
0
4K
Member Avatar for ehpratah

Hi Everyone! Can anybody point me to the right direction or check what am i doing wrong. Im trying to export data from php to excel using phpexcel( which is working fine if im am only getting 1 specific record). but when i tried adding a loop to create a …

Web Development microsoft-office php
Member Avatar for ehpratah
0
3K
Member Avatar for czar

Hi all I'm new to s/w development as well as .NET .Plz provide me with guidelines for my project.The salient features are: 1.) It's an online live MCQ exam project using ASP.NET with sql connectivity. 2.) we want it to be able to test 50-60 students simultaneously providing on the …

Web Development asp asp.net
Member Avatar for happygeek
0
220
Member Avatar for AntonyRayan

Hi, I am new to this concept, In a page there are 5 select boxes and 2 radio buttons. First select box has standard ID , second select box has respective section id, after selecting rest of the three selectboxes final I have to select either first or second, if …

Web Development gui
Member Avatar for urtrivedi
0
224
Member Avatar for kathymac

Hi I am using fpdf.php to create a pdf from my php code. However, my output needs to be in a table format and when I add this: $sMsg = " <div align=center> <table style='width: 900px; color: black; border: 1px solid DimGray;'> <tr> <td style='font-family: Arial; font-size: 22px; color: black; …

Web Development pdf php
Member Avatar for Aeonix
0
355
Member Avatar for phoenix254

Hi, I have just started learning nodejs. And i am using socket.io modules. I have write code where one user can send message to another specific user.. but my code is not working, idk why ? Here is my client side script --> var mysql = require("mysql"); var fs = …

Web Development cdn javascript
Member Avatar for Taywin
0
263
Member Avatar for Sophia_1

Hi everyone, i wanted to upload an excel file in a form and then display/edit the file from the form. Currently, the file can be uploaded at localhost but when i try to upload in server it was not successful. I would also want to view/edit the file and save …

Web Development file-system php
Member Avatar for Taywin
0
561
Member Avatar for UK-1991

Hello, I created a method to show the products by category but the condition I placed is not working if condition is working properly but else if condition not working properly if(isset($_GET["catid"])) { $statement = "posts WHERE cat_name='$cat' ORDER BY pid ASC"; $results = mysqli_query($connection,"SELECT * FROM {$statement} LIMIT {$startpoint} …

Web Development perl php
Member Avatar for Taywin
0
261
Member Avatar for Hamis_1

I need your help I am using Onchange in a form to submit a dropdown data to the database, but something boring when i select the data the page get refreshed, so if i was down the page then after selecting the page takes me up again before i finish …

Web Development html-css image javascript
Member Avatar for Taywin
0
23K
Member Avatar for lewashby

In the page below if the screen is to small or is resized it causes the data in the table cells to be out of sight. I would either like there to be a scroll bar at the bottom of the page or I'd like for the data in the …

Web Development html-css javascript
Member Avatar for Taywin
0
162
Member Avatar for Habib_7

forexample I can go to [Click Here](http://www.msn.com/) and open developer tools and write this code `document.querySelector('.news a').click()` and it will open news. Now I want a program to do this automatically for me. write a javascript code that do this for me actully this was just a simple example I …

Member Avatar for Taywin
0
565
Member Avatar for Habib_7

for example I have this html code: <select id="mySelect"> <option value="0">apple</option> <option value="1">orange</option> <option value="2">banana</option> <option value="3">tomato</option> </select> 1-how can I select ` <option value="2">banana</option> ` (by passing the value attribute to selector function)then click on it with javascript with out using jquery 2-Is there any way to select this …

Member Avatar for phoenix254
0
317
Member Avatar for pro-tek
Member Avatar for phoenix254
0
251
Member Avatar for mamataingle

My code is not working on selectedindexchanged on dynamic radiobuttonlist control public void data1() { Table tbldynamic = new Table(); for (int i = 0; i < 4; i++) { connection = new DAL_Layer(); dt = new DataTable(); dsCommonData = connection.returnDataSet("pro"); dt = dsCommonData.Tables[i]; TableCell tc1 = new TableCell(); TableRow …

Web Development asp.net
0
191
Member Avatar for LibraryCode

Hi all have this two files ,how do i use this file() function in my code to output the saved content of the file to the screen? index.php : <html> <head> <meta charset="windows-1252"> <title></title> </head> <body> <form action="processorder.php" method="post" > <table> <tr> <th>Item</th> <th></th> <th>Quantity</th> </tr> <tr> <td>Tires</td> <td></td> <td><input …

Web Development php
Member Avatar for diafol
0
145

The End.