39,316 Topics

Member Avatar for
Member Avatar for rob.peters.1257

I just installed on my development box the WAMP EasyPHP 12.0 which includesPHP 5.4.4 VC9 | PHP 5.3.14 VC9 | PHP 5.2.17 Apache 2.4.2 VC9 + MySQL 5.5.25a + PhpMyAdmin 3.5.1 + Xdebug 2.2.0. The problem: Old PHP pages are parsed by Apache and load correctly. However, any new pages …

Member Avatar for blocblue
0
190
Member Avatar for weajane01

<?php //Database Connection $connection = mysql_connect("localhost", "root","mysql"); if(!$connection){ die("Database connection failed: ". mysql_error()); } //Select a database to use $db_select = mysql_select_db("school",$connection); if(!$db_select){ die("Database connection failed: ". mysql_error()); } //Database query $result = mysql_query("DELETE FROM tblstudent WHERE id=$id AND course='$course'", $connection); if(!$result){ die("Database connection failed: ". mysql_error()); } // Use …

Member Avatar for devianleong
0
126
Member Avatar for ska_defender

The following code generates a new php file playlist.php which contains the code as in $start $result variable $path = "./files/"; $path2="http://".$_SERVER['SERVER_NAME'].dirname($_SERVER["PHP_SELF"])."/files/"; //echo $path2; $folder = opendir($path); $start="<asx version='3.0'>\n<title>Example ASX playlist</title>"; $Fnm = "./playlist.php"; $inF = fopen($Fnm,"w"); fwrite($inF,$start."\n"); while( $file = readdir($folder) ) { if (($file != '.')&&($file != '..')&&($file …

Member Avatar for ska_defender
0
239
Member Avatar for rayidi

Dear All, I'm developing a Bulk SMS application. I want to send Shedule sms using php. I'm not aware of sheduled Or timing interval things in php. Please help me.

Member Avatar for blocblue
0
113
Member Avatar for rkumaram

I want to create quick view for a shopping cart, Problem 1: When I Place my mouse over any of the boxes, quickview appears on all the box, how can I display it only in parent node. Problem 2: When I place my mouse on quickview link, it keeps on …

Member Avatar for rkumaram
0
335
Member Avatar for Leslie Joy

well hello guys want to ask for your help in improving this code. Please help me. First things first I have a database name called quotation and it has 4 fields namely Id, Date, Product and Price. Well I want to get the name of the product in the drop …

Member Avatar for Leslie Joy
0
117
Member Avatar for vishalonne

Hi All I found many article and discussions on storing values of multiple check box here I found one thread [Click Here](http://www.daniweb.com/web-development/php/threads/165648/how-do-i-insert-multiple-checkbox-data-into-mysql) from which I tried to solve my problem but after doing every thing mentioned in that post finally I reached with an errorError: Column count doesn't match value …

Member Avatar for vishalonne
0
2K
Member Avatar for sourab

Hi, i am developing a website but got stuck. I got couple of queries , I would appreciate if anyone can help me out. 1. is it possible to re-size image ( e.g on facebook thumbnail picture ) without loosing quality using php code. 2. If not is there third …

Member Avatar for cereal
0
251
Member Avatar for eLaunty9487

hello, i have a dropdown list of several values, now i am successfully created a script in which data is display from database by selecting a value from drop down i.e a post value thrown by select a value from drop down. My question is how to display data for …

Member Avatar for ibakir
0
2K
Member Avatar for kovidd

i have recently started learning java .... i completed "head first java" recently ....it is just an intro to java . now i am looking to learn other aspects of java so could you tell me which book to read next . Or should i jump straight into a example …

Member Avatar for JamesCherrill
0
241
Member Avatar for Pidgetastic

I'm trying to create a treeview which is mostly populted by a database. I have two code snippets which on their own work fine but when I place them together it won't seem to work no matter what I try. Main Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html …

Member Avatar for blocblue
0
735
Member Avatar for McLaren

Hello, is my eyes wrong or what but I cannot see simple thing. //ok $this->utils->logging('DEBUG', 'submit dogs card5: ' . serialize($slip_data)); foreach ($slip_data as $data) { //not ok $this->utils->logging('DEBUG', 'submit dogs card7: ' . serialize($data)); }; the first logging line logs this array: array ( 36017 => array ( 'subtypes_id' …

Member Avatar for McLaren
0
87
Member Avatar for kletig

Hi guys Currently working on a webshop and have been running in to some noob problems. So i have three tables that i need to pull some data out of. One table stores the suppliers, the other one orders and the third ordered products. It looks something like this: ::: …

Member Avatar for pritaeas
0
149
Member Avatar for architact

Hello, I am assigned with the task of cloning digg.com, I am doing quite well except one issue, I want the user to enter a link in a text field and then I want the take a screen shot of that url (like digg.com). Please help me with what libraries …

Member Avatar for pritaeas
0
640
Member Avatar for vijayram

Hai everybody, i want to layout rcords in three columns. 1. previous records 2.todays records 3.nextday records i did query. but i have problem in display records in layout page. how to make it . anybody plz help me. public function executeIndex(sfWebRequest $request) { $myplans_obj= Doctrine_Query::create()->select('m.personal_id,m.photo,m.plantitle,m.country_id,m.zone_id,m.city,m.plantype,m.about_plan,m.date,m.what,m.where_go,m.time')->from('meetnewpeople m') ; $result = …

Member Avatar for diafol
0
151
Member Avatar for mascot07

I have a problem on using php array for checkbox by using **foreach**

Member Avatar for themastermind
0
108
Member Avatar for aianne

Hello everyone! I need your help. So I am currently working on my school project for web based voting system and I'm having a hard time to figure it out how to pass value 1 of multiple selected radio buttons to database. Here's my code so far: Here is my …

Member Avatar for aianne
0
1K
Member Avatar for jckb188

Hello, I am somewhat new to databases and just had a quick question on database structure when incorporating users. When building the schema, does anybody have a best practice as whether to put users in a separate database apart from the content, or to put the users into the same …

Member Avatar for rch1231
0
103
Member Avatar for tutusaint

I have a registration form which sends confirmation email to the new user. i also want the same email to be sent to all registered users. I have a table containing all registered members email and i need to inform all of them of the new user. This is what …

Member Avatar for Javvy
0
106
Member Avatar for renjithdas

Hi I tried to resize image with file name ._DYK_RTH134_1000.jpg. I got the following errors Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error. If I am using image with name like DYK_RTH134_1000.jpg then its working fine. Some of my filename have special characters. like . ( ' etc. Could …

Member Avatar for renjithdas
0
173
Member Avatar for gilgil2

Hi am trying to delete a row from a mysql database and can't work out why it is not working. Here is the code $link = mysql_connect('', '', '') or die('Could not connect: ' . mysql_error()); mysql_select_db('') or die(mysql_error()); mysql_query("DELETE FROM gigs WHERE gigname='".$name."'"); mysql_close($link); The $link is working, and …

Member Avatar for phorce
0
496
Member Avatar for joseph.akinadewo

I need some help on how to calculate amount. For example, my subscriptin is $100 per 100 credit, to calculate the amount of this or more, can someone provide me this scripts please.

Member Avatar for joseph.akinadewo
-1
82
Member Avatar for shehnaz1991

hiii i hv tried updating a database table frm the form bt it is not getting updated can u suggest me some php code for updating the database values i hv used the following code <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="project"; // …

Member Avatar for Squidge
0
109
Member Avatar for heur1konrc

I have a very small database in MySQL. There are 20 columns, all text. My PHP script loads all this data into an array and assigns each value to a variable. One of the varibles is $ID_num which contains a unique identifier that is also tied to an image in …

Member Avatar for phorce
0
153
Member Avatar for levsha

I know it's a dumb question, but I can't figure it out. What's wrong with this code? - [CODE]$progress_report = curdate();[/CODE] It doesn't work. Thank you!

Member Avatar for anushathecoder
0
676
Member Avatar for anjaliv

can any one help me in loading image along with its name in texbox loads the text by selecting a option in dependent dropdown using ajax..

Member Avatar for divyakrishnan
0
110
Member Avatar for phpHelp

Hi, I am here with a strange issue...my facebook app becomes system/browser dependent...some people can access it some can not...my app is having simple html code...why it's happening, can any body help me... Thank you

Member Avatar for cuonic
0
133
Member Avatar for kaleem_ullah

I have devloped a contact form with PHP code. It work perfectly. when you submit the form all the information e-mail to you perfectly. After submitting the contact form it will take you back to you same contact page. Know want to make some changes in it. When some one …

Member Avatar for divyakrishnan
0
297
Member Avatar for polinolin

hi, buddy. i have problem to generate 1024bits key RSA algorithm on PHP. i always get error when compile my program on mozilla. can you help mo to find the solution to generate it or generate prime 1024 bit? thanks!

Member Avatar for pritaeas
0
40
Member Avatar for louisdesouza

I created a javascript registration form and when the user submits the form, a 'sendemail.php' file will send the data in the form to my gmail email account. The code from 'sendemail.php' is shown below: Code: $mail->IsSMTP(); // Fixed. $mail->Host = 'smtp.gmail.com'; // Or Hotmail. $mail->Port = '587'; // Fixed. …

Member Avatar for pritaeas
0
610

The End.