39,393 Topics

Member Avatar for
Member Avatar for hriti

hello every one please help me out i want to show my data according to date... i mean it can be according to current date,previous date data can be according quaterly month how to display it from database.

Member Avatar for jeffey
0
129
Member Avatar for berserk

I cant seem to upload a file in php to my server from just anywhere, it will only upload correctly if the file is in the same folder as my upload script which is a serious problem if i want the user to be able to upload from just anywhere. …

Member Avatar for berserk
0
172
Member Avatar for ultmt.punisher

I am trying to set restriction on uploading files to php server but thats not working except only txt file. here is code. $allowedExts = array("text", "doc","rtf"); $temp = explode(".", $_FILES["datafile"]["name"]); $extension = end($temp); if (isset($_FILES['datafile']['tmp_name'])) { if (($_FILES['datafile']['type'] == "text/plain") || ($_FILES['datafile']['type'] == "application/msword") || ($_FILES['datafile']['type'] == "application/rtf") && …

Member Avatar for ultmt.punisher
0
487
Member Avatar for berserk

I cant seem to get this login form to work right I have the login form come up and i can use it to get to the form.php page that i try to access but my problem is that its not verifying any login information, it just goes on through …

Member Avatar for berserk
0
505
Member Avatar for nutandevjoshi

am using XML RPC for webservices on localhost using simple example, but i got above error . //Client.php <html> <head> <title>XML-RPC PHP Demo</title> </head> <body> <h1>XML-RPC PHP Demo</h1> <?php include 'xmlrpc.inc'; // Make an object to represent our server. $server = new xmlrpc_client('http://localhost:81/xmlrpcDemo/sample.php'); // Send a message to the server. …

Member Avatar for nutandevjoshi
0
4K
Member Avatar for davy_yg

Hello, I am trying to create a form like this: registration1.php <form name="registration1" action="registration2.php<?php //$_SERVER['PHP_SELF'] ?>" method="POST"> <tr> <td>First Name</td> <td><input style="width: 500px;" type="text" name="fname" size="80px"><br><br></td> </tr> <tr> <td>Last Name</td> <td><input style="width: 500px;" type="text" name="lname" size="80px"><br><br></td> </tr> <tr> <td>Email Address</td> <td><input style="width: 500px;" type="text" name="email" size="80px"><br><br></td> </tr> <tr> <td>Phone No</td> …

Member Avatar for cereal
0
174
Member Avatar for Priti_P

Hello i have array as Array ( [1] => Fedora [6] => Array ( [0] => Android [1] => Selenium ) [200] => Array ( [0] => hi there [1] => New ) ) how to print this in php using for loop because using normal forloop it says no …

Member Avatar for Priti_P
0
175
Member Avatar for Simri

Hi all, I am very new in website developer. I bought a PHP template and I tried to insert / modifie the header using the Slider Cluster from Jssor slider. But the problem is when I click the content, the header slider doesen't work. It's stop. Here is the link: …

0
51
Member Avatar for moinwaseer

i want that when i click on detail button a small widnow open and data show from database with out refraesing the page in the same page i just want to show data i have already shown data on page but that is not in good way i just want …

Member Avatar for gabrielcastillo
0
223
Member Avatar for UK-1991

Hello guys I really need your help to save my job. i started to create and attendance system but I stucked up with time in button. I have created a time out button and working fine and great but the problem is that I am unsuccessfull for creating a time …

Member Avatar for UK-1991
0
2K
Member Avatar for deva89

I am developing a project on PHP and MySQL. My problem is "I am unable to show a uniqueID in a textbox like 'GHY00001, GHY00002, etc' auto-incremented everytime i load the page and insert it into the database". I already tried some php tutorials but didn't find usuable to my …

Member Avatar for AndrisP
0
480
Member Avatar for Iikeloa

Hi I have a problem with inserting into the database. This is my code : $insert = $db_con->query("INSERT INTO users (username,password,email,com-name,com-logo,com-phone,com-mobile) VALUES('".$username."','".$enc_pass."','".$email."','".$com_name."','".$profile_path."','".$com_phone."','".$com_mobile."')");

Member Avatar for Iikeloa
0
280
Member Avatar for nadiam

database : mysql tool: phpmyadmin today my supervisor set up the web on the companies server. when its all settled, we try out the login page(`index.php`) but we get fatal error and the line its pointing at refers to the `connection.php` page which connects to the database. > Fatal error: …

Member Avatar for pritaeas
0
212
Member Avatar for Sharmilamega

Hi, i have a doubt in php. I need to store datas in database if i before my time ends. But before timing ends datas are not stored in db. this is my problem. Please give one solution for this.

Member Avatar for cereal
0
62
Member Avatar for atakarim

hello sir i am beginner of this course. now i am doing a project where i want to print a page/part of the page from web browser without print window. may i do this? if yes then how i could do so? please help me to find out the solution …

Member Avatar for atakarim
0
234
Member Avatar for zekstein

Hello ! I have a problem ! I'm starting a comment system for my website. The problem is: I want to use an HTML editor, but is not fully necesary. My problem is with the security. How to secure the user input that i save in database? Because i show …

Member Avatar for diafol
0
145
Member Avatar for ravi142

Hello Everyone, Can you suggest me for Any Script or snippets of dopdown value given to **database** using **jquery and ajax** in php file. Thank You.

Member Avatar for diafol
0
385
Member Avatar for dhani09

I'm implementing something similar to a shopping cart - a "my favorites" page for products. Users can click on an "add to favorites" link and add products to a favorites table from which they can view the details of those products at a later time. There's no purchase on the …

Member Avatar for diafol
0
226
Member Avatar for mokshi

Hi I am generating 6 tables in pdf using fpdf in php but i am getting each table in a seperate page even if table contains only one row can you help me in this issue function function BuildTable5($header5,$data5) { $this->SetFillColor(255,255,255); $this->SetTextColor(0); $this->SetDrawColor(0); $this->SetLineWidth(.3); $this->SetFont('','B'); //Header $w=array(30,50,20,20); $this->SetFont('Arial','B',7); for($i=0;$i<count($header5);$i++) $this->Cell($w[$i],7,$header5[$i],1,0,'C',true); …

Member Avatar for DJBirdi
0
191
Member Avatar for mexabet

I'm coding a registration form that includes a file upload field. Basically, there are two queries that need to be simultaneously inserted into a database. But unfortunately, I don't know how to do it. So, I need your help. if ($my_upload->upload()) { // new name is an additional filename information, …

Member Avatar for mexabet
0
245
Member Avatar for jaspertan

Hi Sirs, can anyone have an idea reagarding lightopenid log-in on Laravel 4. i want to make a website using google account on log in. Thanks in advance.

Member Avatar for cereal
0
433
Member Avatar for rjusman90

$newq=mysql_query("SELECT * from userrights WHERE UserId=$Id"); $array=array(); $r1=mysql_fetch_array($newq); $menuid=$r1['MenuId']; <select name="page[]" multiple="multiple" size="5" > <option disabled="disabled" value="">Choose one</option> <?php $query1=mysql_query("SELECT * FROM adminmenu"); while($row1=mysql_fetch_array($query1)){ $selected = ($menuid == $row1['MenuId'] ? 'selected="selected"' : ''); echo"<option value='$row1[MenuId]' $selected >".$row1['MenuName']."</option>"; } ?> </select>

Member Avatar for rjusman90
0
150
Member Avatar for rpv_sen

HI can any one please help me how to convert timestamp to IST jtime = 2014-07-23 02:41:05 to Date H:i:s am/pm formate

Member Avatar for DJBirdi
0
184
Member Avatar for akhilckz

how to redirect to a page in a specific folder... how to specify path...

Member Avatar for <M/>
0
207
Member Avatar for ultmt.punisher

I have a `input type file` named `datafile` and I want to show file name into a span when file is loaded into `input:file` I have tried to echo `$_FILES['datafile']['tmp_name']` but it output this `E:\xampp\tmp\phpFE1E.tmp` not the real file name. suppose I have file `data.txt` so I want to show …

Member Avatar for cereal
0
258
Member Avatar for Webville312

Dear all, I have done a website that I need to integrate emailing functionality. I have done this before, and it worked perfectly, and still does. However, when I attempted to use the same code to test the emailing functionality for the new site, I get an error message as …

Member Avatar for Webville312
0
191
Member Avatar for My question

Dear friends, I have the pages for website in html, I need to change those html pages to wordpress. I don't know how to do that, Please help me

Member Avatar for khurram123
0
147
Member Avatar for judy.babasa

is html/php suited for making an accounting software? looking forward for your recommendations.thanks

Member Avatar for rubberman
0
149
Member Avatar for Sharmilamega
Member Avatar for rubberman
0
68
Member Avatar for safi.najjar1

Hey guys I have some problem for counting (products) in cart dynamically with ajax when clicking on (add to cart) "button": for example: consider that there's only one product in cart, user clicks (add to cart) "button", show div with message added plus count products in cart dynmically Here's my …

Member Avatar for safi.najjar1
0
220

The End.