39,326 Topics

Member Avatar for
Member Avatar for fiddler80

Hello. I have a php script that will backup my databases and ftp them to another server. All works fine via a cron job - but the backups are piling up and I'd like to add some code to the script to delete all the old backups - and just …

Member Avatar for fiddler80
0
495
Member Avatar for rpv_sen

Hi I am trying to enable the fileds with help of radio button is selected below are my code, its working fine for inserting a value in database. I can able to fetch the datas from database for display except the radio button is not getting selected from the database …

Member Avatar for rpv_sen
0
1K
Member Avatar for johnef_sh

I am trying to use PHP with Google map JavaScript this is my JavaScript code I have with the PHP the file name is face.php <?php if(isset($_GET['p'])){$p=$_GET['p'];} ?> <!DOCTYPE html > <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Property Map</title> <link rel="stylesheet" href="../../../../css/960.css" type="text/css" media="screen" charset="utf-8" /> …

Member Avatar for johnef_sh
0
1K
Member Avatar for satbir4
Member Avatar for cereal
0
56
Member Avatar for gtsuji

i have a problem with this i wanna update a profile i can update the title and the body but i can update the image here is the program i hope can help thank you so much

Member Avatar for pzuurveen
0
42
Member Avatar for CarterLangley

Hi guys, I have a mysql database with many tables. Instead of creating a page each to enter info into the relevant tables, is it possible to have a form created dynamically depending on what table I want to insert information into? Database has 20 tables in it at present, …

Member Avatar for CarterLangley
0
180
Member Avatar for Iikeloa

Hi I'm facing a problem with having two forms in the same page.The problem is that the action is taken from only the first form. For example : <html> <body> <form action='test.php' method='POST'> <input type='submit' /> </form> <form action='testme.php' method='POST'> <input type='submit' /> </form> </body> </html> when I hit on …

Member Avatar for Iikeloa
0
283
Member Avatar for showman13

There was a thread that covered part of this issue, but it never really got resolved completely. I now have everything working the way it is supposed to with the single exception of the transfer of the .csv file from my server to the secure server of my vendor. If …

Member Avatar for iamthwee
0
2K
Member Avatar for sikander123

i have much tried for this solution but not any well solution found.if any one know how can we compare two audio files by their voice and after comparing it give the result of matching voices.please if any one now the solution told me.

Member Avatar for veedeoo
0
1K
Member Avatar for Amanpreet_1

i'll be gratified if anyone can help me thru this ..... my problm if that i have to retrieve data from my sql database ... bt itz stored thr from an app created in php .. so stored using preg_match function in php ....**&nbsp;hlo<div><br></div>** this is format i have it …

Member Avatar for Amanpreet_1
0
384
Member Avatar for game4tress

I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system. I know that the problem comes from the …

0
205
Member Avatar for neha05

Facing issue when splitting a image ,when image size is bigger,it split only part of tht image or i want that any size of image show properly according to div size after splitting.`Inline Code Example Here` <!doctype html> <html> <head> <meta charset="utf-8"> <title>jQuery PicStrips example</title> <!--<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">--> <script …

0
152
Member Avatar for Pravesh_1

I want url like www.abc.com/pagename but when I wrote RewriteRule ^(.*)$ page-detail.php?url=$1 but it will show www.abc.com/pagename not www.abc.com/index.php or www.abc.com I want to run both pages www.abc.com/index.php and www.abc.com/pagename. How I can ?

Member Avatar for sikander123
1
563
Member Avatar for Kniggles

hi I am having trouble on echoing a sum from a table, The mysqul works and give me the wantted result and looks like SELECT sum(brick) FROM `goodship` this is the code i am trying to get to show it on the site, <html> <head> <?php $con=mysqli_connect("hostwiththemost.com","bulderbob","superscreatpassword","shipstable"); if (mysqli_connect_errno()) { …

Member Avatar for kgavhane12
0
227
Member Avatar for genwes

Hi, i've been asked to create a visit counter using checkboxes and a submit button. When a form (available form - code below) is submitted (pressed visit button) a script should work out which properties have been selected (using checkboxes) by the user and then add one to the Visits …

Member Avatar for genwes
0
351
Member Avatar for ecronic

Hi All Kindly of a problem I'm facing. Using Ember Media Manager, I exported my list of movies in custom template. The template is amazing shows exactly what a viewer would like to see on my collection. Now I have friends who are asking to place a checkbox next to …

Member Avatar for jj.dcruz
0
169
Member Avatar for Mike_danvers

my table structure is id|passport|stamp|postcard|poster|greetings|collage| 1|2 |3 |4 | 2|7| 6 | ................like this.. i want to show ma users the most recent entry....i am successfully able to show the entries but..my php script is showing all the earlier and recent records..i want to show just the last record inserted. …

Member Avatar for diafol
0
183
Member Avatar for Mohamed_26

Hello, SO I am able to add one item but I would like to add more than 1 item. Can you guys help me with it? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); if($num>0){ while ($row = …

Member Avatar for Mohamed_26
0
146
Member Avatar for davy_yg

Hello, I downloaded apache: [Newest Apache](http://www.apachefriends.org/index.html) And now I wonder why everytime I try to start the apache service this message appears: Attempting to start Apache service... and stuck right there. I think I have tried install and reinstall my apache several from the newest and the second newest version …

Member Avatar for davy_yg
0
262
Member Avatar for kannan mangalar

**this table dont have a id,class, i want get the content** <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="14%" height="25">FullName:</td> <td width="86%">kannan</td> </tr> <tr> <td height="25">email</td> <td>kanna@sample.com</td> </tr> </tbody> </table>

Member Avatar for diafol
0
228
Member Avatar for vaultdweller123

i had an htaccess for that, but the problem is... it doesn't read $_POST variables RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/$ $1.php RewriteRule ^([^/]+)/([^/]+)/$ /$1/$2.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule (.*)$ /$1/ [R=301,L] Anyone know an htaccess that can remove the .php, add a …

Member Avatar for vaultdweller123
0
876
Member Avatar for chaitu11

<?php if($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login']) == 'Login'){ $email = test_input($_POST['lemail']); $password = test_input($_POST['lpassword']); $passw = sha1($password); echo sha1($passw); $sql = mysqli_query($con,"select admin_id,admin_email,admin_password from admin where admin_email = '".$email."' and admin_password = '".$passw."'"); $row = mysqli_fetch_array($sql); if(mysqli_num_rows($sql) == 1){ session_start(); $_SESSION['admin_id'] = $row['admin_id']; $_SESSION['admin_email'] = $row['admin_email']; if($_SESSION['admin_id']){ header("Location:jobpost.php"); }} else{ …

Member Avatar for jj.dcruz
0
8K
Member Avatar for rajendher

hello everybody......... for example i want to read a 2014.html or 2014.php file like shown below. http://example.com/myfiles/2014/-dir-/2014.html. i don't want to show full path. how it is possible anybody please help me. Big up for reply.........

Member Avatar for rajendher
0
441
Member Avatar for jj.dcruz

I have coded this today and wanted to find all the data inside my database which is start_time and end_time also date which is very easy for me to validate but when it comes to time... its really hard this is what I want to do. 1. check all the …

Member Avatar for jj.dcruz
0
189
Member Avatar for Sujithabonam

Hi , I just want to know,is it possible to assign the javascript array variables to the php array variables. I am new to php ,so please can anyone explain me.

Member Avatar for diafol
0
392
Member Avatar for Mike_danvers

hi!!m doing my college project on "online digital photo printing"where a customer can upload,edit and order photos at home the problem i am facing is:-i want to provide my users a "price list of photo type(passport size=rs XXX,stampsize=rs YYY)" and these prices should be entered by "admin"in a form..that gets …

Member Avatar for diafol
0
174
Member Avatar for asker54

I installed WAMP server 2.4 the latest one on its website which currently support PHP 5.4 and Apache 2.4. This works successfully. When I tried to downgrade the PHP version to 5.2 or another lower version, the system rejected this downgrading saying my Apache version is not compatible. So, I …

Member Avatar for asker54
0
538
Member Avatar for com00085

Dear all , i have one question how can i submit a form with multiple form in my page and i don't want to refresh page because if refresh page other form will lose data need to input again

Member Avatar for com00085
0
158
Member Avatar for jj.dcruz

i have a database at the links. so the problem it still insert between the time some friends suggested to loop all the data 1st then validate but im confused here. **any help would be great ** <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <body> <?php mysql_connect("localhost","root",""); …

Member Avatar for jj.dcruz
0
210
Member Avatar for edbr

struggling with this update in PDO, i have hacked away at it in frustration, but i cannot see my error

Member Avatar for edbr
0
218

The End.