39,392 Topics

Member Avatar for
Member Avatar for RonKevinT.Manuela

Ok so here's the thing my classmate did a very good html file...this is the basis of the design of our homepage...there is a part where I should put the news on a collapsible group blah blah..i need help Here's the query to show news and events(nevermind the paginator Im …

Member Avatar for RonKevinT.Manuela
0
273
Member Avatar for SimonIoa

i want to show a video from a url that its stored on the database. What am i doing wrong <object width="620" height="320" data="<?php echo $profileurl;?>"> </object> the string works because when i use it it appears e.g. https://www.youtube.com/watch?v=DbVkiN0Zip4

Member Avatar for SimonIoa
0
235
Member Avatar for ankit1122

hello i have a php file named index.php. within that file two php scripts are there ... they have to share four $variables values with each other...how coud i do this?? global,superglobal or static??? `

Member Avatar for ankit1122
0
837
Member Avatar for showman13

I asked this question 4 months ago, and while I did receive a few responses, I never really got what I needed resolved... What I was hoping to find is probably what diafol was talking about dusting off and taking another look at, and that is a PHP based script …

Member Avatar for iamthwee
0
273
Member Avatar for amith_ami

hi..all i want to create a new page in the wordpress admin panel to manage orders with file uploading and message sending option. please help me to do this... tnx in advnc..

Member Avatar for pzuurveen
0
218
Member Avatar for jKidz

Hi All, These days I'm busy with the PHP Photo Gallery Solution. In this system Admin can upload images and its' descriptions. When user point mouse on the image, tooltip will appear. That tooltip windows contain images' description. My problem is, Image Details are stored in `photos` table. And its' …

Member Avatar for rpv_sen
0
2K
Member Avatar for younes.keraressi

hi, i create a web lan application, here my code: function Init_Form7() { $("#i_b_name").val(''); $("#i_b_last").val(''); $("#i_b_prob option:first-child").attr("selected", "selected"); $('#i_b_to option:first-child').attr("selected", "selected"); $("#i_b_acti").val(''); $("#i_b_date" ).val(''); $("#i_b_le_date").val(''); $('#i_b_wil option:first-child').attr("selected", "selected"); } on the "reset button" i call this function onclick="Init_From7();" the problem is , when i click on server machine the "reset …

Member Avatar for AleMonteiro
0
107
Member Avatar for ma.da.7140

Hello..im a newbie in php, i'm curious about how to make a single file with multifunction, so i can call this file in another file. For example, i made a search function in "search.php". Then i want to call it in another file (more than one), to run a search …

Member Avatar for ma.da.7140
0
516
Member Avatar for ashokkmr22

How to maintain a heavy weight data in the MYSQL DB?For Fetching a value takes more time.

Member Avatar for veedeoo
0
119
Member Avatar for satheshkumarhr

Anybody please help use the below table and tree structure and calculate left and right count. My Table Creation Query: CREATE TABLE `testmlm`.`binary_tree` ( `id` INT( 11 ) NOT NULL AUTO_INCREMENT , `name` VARCHAR( 150 ) NOT NULL , `left_id` INT( 11 ) NULL , `right_id` INT( 11 ) NULL …

Member Avatar for veedeoo
0
251
Member Avatar for momonq1990
Member Avatar for Shibbir Khan

I'm using Yii framework while my question is probably intended to PHP expert. I have created a controller to send email from my web application, it works fine. Given that, I intend to use email in several sontrollers in my app, I wanted to created a helper but that does …

Member Avatar for kaleemullah360
0
431
Member Avatar for acrocephalus

Hello, I am trying to get all the values (numeric) of the column Bruel_ID from database mpctz_rsform_bruels to display them in a RSForm dropdown box. I'm using this code: //<code> $db = JFactory::getDbo(); $db->setQuery("SELECT Bruel_ID FROM mpctz_rsform_bruels"); return $db->loadResult(); //</code> Howeve, I am only pulling the lowest value of the …

Member Avatar for diafol
0
151
Member Avatar for Nabeel_2

view: <?phpforeach($row as $b):?> <?php echo $b->Product_Name ?></h3> <?php echo $b->Price ?></p> </div> <?php if ($b->Option_name):?> <?php echo form_label($b->Option_name, 'option_'.$b->Product_ID ); ?> <?php echo form_dropdown( $b->Option_name, $b->Option_value, NULL, 'Product_ID= " option_' .$b->Product_ID. ' " ' );?> <?php endif; ?> controller: public function product_detail($Product_ID){ $this->load->model('model_products'); $data['row']= $this->model_products->get_detail($Product_ID); $this->load->view('product_detail',$data); } model: function …

Member Avatar for pzuurveen
0
6K
Member Avatar for Jake.20

Greetings im new in laravel and i want to learn how to show the html page in laravel. My laravel's location is: C:/wamp/www/laravel The location of the page that i want to view: C:/wamp/www/laravel/app/views/hello.php I tried localhost/wamp/www/laravel/app/views/hello.php but it only gives me an error: The requested URL /wamp/www/laravel/app/views/hello.php was not …

Member Avatar for Sam.Samual
0
281
Member Avatar for davy_yg

Hello, I cannot tell the difference between material.php and studentmgt.php material.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" …

Member Avatar for davy_yg
0
245
Member Avatar for koneill

In PHP - I'm trying to pass a second item &show_sill via the URL string and keep getting this error: - Parse error: syntax error, unexpected '&' what is the correct syntax when trying to utilize mutliple items via the querystring: header("Location: submit.php?upload_message=image uploaded&upload_message_type=success&show_image=".$_FILES["image_upload_box"]["name"]&show_sill=".$_FILES["imgOrgSrc"]["name"]); exit;

Member Avatar for koneill
0
175
Member Avatar for Asif_6
Member Avatar for veedeoo
0
87
Member Avatar for zeeshan009

Hi All, I want to know how to write a php script that run in background in browser when anyone login.

Member Avatar for veedeoo
-1
189
Member Avatar for zeeshan009

Hi All, I am developing a fee management system in which i want to view unpaid fee of students. Can any one guide me how to to do this in php. I need a logic. Please guide me.

Member Avatar for diafol
-3
65
Member Avatar for shammi.khan.73

I have a simple php code which enters value into MySql database and then retrieves it and displays it. However when retrieving it always return null and Empty Set is echoed everytime. Can someone please help. I am using WAMP Server. Database name is trial and name of table is …

Member Avatar for diafol
0
208
Member Avatar for matrixdevuk

Hello! So, I see you need help... or maybe you just fancy a nice little read. Either way, this is here for a reason. When you post code on DaniWeb, it can be frustrating waiting for a reply (trust me, I've been there!) — so... here are some tips that …

Member Avatar for matrixdevuk
2
303
Member Avatar for davy_yg

Hello, I would like to create a confirmation box for delete. Do you want to delete this row? [Yes] [No] How? How to create a colorful confirmation box? ok, I find the demo link [demo link](http://myclabs.github.io/jquery.confirm/) NOw, I wonder how to merge php with jquery ? So if someone click …

Member Avatar for mattster
0
2K
Member Avatar for Evil_genius82

Hi all, I plan on deleting records which are older than one week from my MySQL database.I do not have access to cron on my current server so I plan on using cronless.com to schedule a request on the following php script. <?php $cron_id = $_GET['comm']; if($cron_id == 20){ require_once …

Member Avatar for Evil_genius82
0
249
Member Avatar for rae08

Hi guys, I am looking to develop a web-based chatbot that uses a webcam to capture the user's facial features in order to determine the person's mood for better communication. Like for example a chatbot notices that the user is sad, the chatbot would ask "I noticed you're sad, any …

Member Avatar for veedeoo
0
215
Member Avatar for brochindia
Member Avatar for mokshi

I have to pass two values to sp first value is nvarchar and second value is Int in SQL server,but i am not getting values, is my code is correct.Please help me out $query = mssql_init("courseofferedbyprof", $dbhandle); mssql_bind($query,"@facultyID",&$facname,SQLVARCHAR,false,false,50); mssql_bind($query,"@count",&$year,SQLINT2,false,false,50); $result=mssql_execute($query);

Member Avatar for diafol
0
148
Member Avatar for kaakka

i have form file delete anybody can help make file clone instead of delete. <?php if(isset($_POST['filed'])){ unlink($_POST['file']); } ?> <form action="delet.php" method="post"> <b>Name of file(on the server):</b><INPUT type='text' Name='file'><Br> <INPUT type='Submit' Name='filed' Value='Delete File'> </form>

Member Avatar for kaakka
0
163
Member Avatar for RonKevinT.Manuela

So, my groupmate designed the look of our website...I was trying to integrate it with the other code....I decided to first do the login form....i dont know but I cant get it to work...-_- 1. lets start from the config.php: <?php ob_start(); session_start(); include('functions.php'); //database credentials define('DBHOST','localhost'); define('DBUSER','root'); define('DBPASS',''); define('DBNAME','sics'); …

0
119
Member Avatar for markii.borabon_1

im trying to get the date diff: <?php $datetime1 = date_create(date('d - M - Y')); $datetime2 = date_create($date); $interval = date_diff($datetime1, $datetime2); $diff = $interval->format('LISTED %R%a DAY(S) AGO'); ?> it works in my localhost host.. but when I upload and run it online it get this error : Fatal error: …

Member Avatar for kaleemullah360
0
446

The End.