39,326 Topics

Member Avatar for
Member Avatar for hriti

i want an option in admin to upload a exe file of a software to database and save it in a folder....thn at front end anyone can download its exe file by clicking on it...plz help me out...

Member Avatar for diafol
0
222
Member Avatar for ms061210

Hi everyone, can you help me understand the logic why I can't access one of my the items in POST. Here is my form: <form action="insert2.php" method="POST"> <table border="0"> <tr> <td width="40%"><b>Date:</b></td> <td width="60%"> <input type='text' name="today" placeholder='<?php echo $today ?>' disabled='disabled'> </td> </tr> <tr> <td width="40%"><b>User ID:</b></td> <td width="60%"> …

Member Avatar for aravinda.dani
0
269
Member Avatar for ZeroEddy

I am having a problem in trying to line up my image inside the navbar list items area. There seems to be padding coming into the image therefore having it in the wrong area. I have put padding:0 and margin:0 in lots of areas but still nothing. Any help on …

Member Avatar for ZeroEddy
0
222
Member Avatar for shealtiel

I'm building a web application for a small office, to run their daily business. The employees will be logged in and working in the system thorugh the whole day. My client is located in Israel, and I'm shopping for a hosting cloud provider for him to host the application that …

Member Avatar for Lsmjudoka
0
201
Member Avatar for ollicadyan

programmers help me i have a problem for my study issue, if i ask you to develop a program that contain a database and using php scripting language how much it will cost for the whole development. also it is an online system. example Nutrition Information System. i hope that …

Member Avatar for Lsmjudoka
0
92
Member Avatar for prince.sayeed1381

# Hi, # ## Here http://meganrapinoe.com.php53-9.dfw1-1.websitetestlink.com/ the WordPress site. I am using an elegant theme 'Styleshop'. I want to make the update page http://meganrapinoe.com.php53-9.dfw1-1.websitetestlink.com/updates/ same as the home page without the slider and three box under slider. So, I put the header, post, sidebar,footer code in the update template from …

Member Avatar for EvolutionFallen
0
314
Member Avatar for cancer10

PHP - Converting IP to Country Hello, Is there any function/pre-made scripts in php which can tell me the name of country based on IP? For example: If I supply an IP 132.162.138.139 then the script would echo "India" Thanx in advance :)

Member Avatar for diafol
0
2K
Member Avatar for veledrom

Hi, I want to store the values that are in array($selected) into a single variable($result). How can i do it? Variable of $result should be 4,3,9. I get this error "Notice: Undefined variable: result in C:\wamp\www....". Thanks [code] $selected=array("0" => 4, "1" => 3, "2" => 9 ); foreach ($selected …

Member Avatar for arifmufty
0
210
Member Avatar for vipula

I am trying to search mysql databse and display it in an editable form and then update records. I can search and display data in a form. But when I am trying to update data not going to the database. If any one can help me please have a look …

Member Avatar for minitauros
0
270
Member Avatar for sallaudin

{"session_id":"-4y6g2ck_gEU2mvsFY0oZQ","propid":"7169","avail":"2","calendararray":["2013-11-13","2013-11-20","2013-11-27"]}

Member Avatar for pritaeas
0
62
Member Avatar for Raadha

<?php $con=mysqli_connect("localhost","root","","trial"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } if(isset($_POST['submit'])) { $billno=$_POST['billno']; $doa=$_POST['doa']; $dod=$_POST['dod']; $dbcd=$_POST['dbcd']; $acno=$_POST['acno']; $dosub=$_POST['dosub']; $suby=$_POST['suby']; $dop=$_POST['dop']; $credate=$_POST['credate']; $paytype=$_POST['paytype']; $sql="UPDATE cust SET doa ='$doa', dod = '$dod', dbcd='$dbcd', acno='$acno', dosub='$dosub', suby='$suby', dop='$dop', credate='$credate' ** WHERE billno = '$billno'";** print $sql; if (!mysqli_query($con,$sql)) …

Member Avatar for cereal
1
216
Member Avatar for Andrea_1

Hi everybody, my name is Andrea, I'm Italian and I stopped getting dru... OPS! Wrong thread. :D I am a PHP Developer, nice to meet you all! Best

Member Avatar for Hasanul huq
0
254
Member Avatar for Raadha

<?php $con=mysqli_connect("localhost","root","","trial"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } echo "<table border='1' style='border-collapse: collapse;border-color: silver;'>"; echo "<tr style='font-weight: bold;'>"; echo "<td width='200' align='center'>Customer</td><td width='200' align='center'>Amount</td>"; echo "</tr>"; if(isset($_POST['submit'])) { $custype = $_POST['custype']; $from = $_POST['from']; $to = $_POST['to']; echo "<br><br>"; echo " <h2> Grand …

Member Avatar for minitauros
1
160
Member Avatar for Catweazle

Can the database of a phpBB forum be transferred across to run under vBulletin, without losing memberlists, post history and so forth?

Member Avatar for lizapritz
0
557
Member Avatar for tqmd1

Sir I have following codes <?php // Connection variables $host = "localhost"; $username = "root"; $password = ""; $db_name = "phonebook"; $con = mysql_connect($host, $username, $password, $db_name); if (!$con) { echo ('<script type="text/javascript">alert("Error Connecting to database")' . mysql_connect_error($con) . '</script>'); } $result = ""; $username = ""; $password = ""; …

Member Avatar for TheBludger
0
240
Member Avatar for damle1

I want to search data base by input date given by user in php my sql How to do it? Regards

Member Avatar for minitauros
0
83
Member Avatar for ryantroop

While it may certainly seem "lazy" I spend a large portion of my time in javascript and I like the syntax for arrays. I cant seem to figure out if I can "prototype" the array "object" and give it methods that simply returns the appropriate function: i.e. $aMyArr = array(); …

Member Avatar for pritaeas
0
448
Member Avatar for kumar89hitesh

How to send email from localhost in php? i have also configured php ini file and send email file but i have the error when i run this program--- Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. sy10sm34464318pac.15 - gsmtp in C:\xampp\htdocs\reena\mail.php on line …

Member Avatar for diafol
0
179
Member Avatar for timetraveller1992

I am trying to write a multiline string into a text file but it does not appear as multi-line text. Here's my code $hostname = "localhost"; $username = "root"; $password = "sample"; $dbname = "code"; $code = <<< THECODE ; This is the main configuration file for your web app …

Member Avatar for Lsmjudoka
0
258
Member Avatar for damle1

Hi I am new to PHP I want to create drop down list in form where user can type any other thing if he does not wish to select from drop down. Pl Help Dr Damle

Member Avatar for Gaetane
0
190
Member Avatar for jagdish1

Hi , I want to create search field as same like google search but not using API its using database. When i typpe 'R' in input field related to 'R' country name should show in dropdown brom database using php , ajax . Please can you send me the source …

Member Avatar for cereal
0
69
Member Avatar for tqmd1

Sir, I am using these codes <?php if(isset($_POST['login'])){ require_once("connect.php"); session_start(); // username and password sent from Form $myusername=addslashes($_POST['username']); $mypassword=addslashes($_POST['password']); if(empty($myusername) || empty($mypassword)) { echo '<script>alert("User name and password must not be empty")</script>'; }else{ $query="SELECT name FROM admin WHERE mobile='".$myusername."' and password='".$mypassword. "'"; $result=mysql_query($query); if(!$result) { echo "<script>alert('username, password query is …

Member Avatar for pritaeas
0
155
Member Avatar for rrajeswari03

i want to upload multiple image in php.am getting image path like (image.jpg,image2.jpg,etc..).it is possible to split the path and upload each file to folder...can anyone help me with code.

Member Avatar for rrajeswari03
0
102
Member Avatar for jacob21

I am using below query for fetching result using union of two tables. I am trying to get total number of records after union of two tables Need Suggestions. ` SELECT a.* FROM svn_headline a where a.newstypeid=2 UNION SELECT b.* FROM svn_crimenews b where b.newstypeid=2 order by newsdatetime desc SELECT …

Member Avatar for pritaeas
0
100
Member Avatar for nurul_1

Hi,please help me. I have a textbox called txtUsername, also have one called txtEmpID. what im looking for is a simple way for txtempid can get updated automattically based one what i type in txtusername. Thank you

Member Avatar for nurul_1
0
305
Member Avatar for hallianonline

Hello i have a simple question and i need a simple solution I have a javascript file named a pricing.js which contains this content in it var price_arr = new Array('&#36; 16.95','&#36; 30.95','&#36; 49.95','&#36; 70.95','&#36; 99.95','&#36; 109.95','&#36; 139.95','&#36; 155.95','&#36; 199.95','&#36; 460.95'); but i want to to update this part of …

Member Avatar for diafol
0
198
Member Avatar for Stefce

Hello since cereal helped me out with the price and counting in PHP i need just one more thing, to get the names of the products i have tryed different ways to do it by my self but i just cant cause im begginer with PHP language, i have this …

Member Avatar for diafol
0
271
Member Avatar for nurul_1

Hi, please help me. I want to generate graph based on my data in database. User can pick the date or month or year then the graph will be generate.

Member Avatar for diafol
0
52
Member Avatar for nuno.freitas.meneses.monteiro

Hello guys, I am doing a Friend system on my website, and I did the friend request, to accept, but the friends list isn't alright in some part of code because it isn't take the correct id, anyone can help me? 1. <?php 2. 3. $users = $_SESSION['username']; 4. 5. …

Member Avatar for nuno.freitas.meneses.monteiro
0
325
Member Avatar for Stefce

Hello, i'm new in PHP so i dont know much about it so ill need a little help with this "eazy" problem. I need to calculate the total price of the items on every "checkbox" check. here is my code: <?php $mikrobranova = 3999; $smasina = 4999; $amasina = 9999; …

Member Avatar for Stefce
0
8K

The End.