39,323 Topics
| |
Hi hope someone can help I have an array with daynames in dutch but when i use the day zondag it is not workin and i don't know why Can someone help me to make it work here is the code if($row3['geboortedatum']!= "0000-00-00") { $rss = $row3['geboortedatum']; $dayNames = array( … | |
hi! I'm pretty new to php and i just want to ask how to update tables in mysql using php? here's my code snippet $product_code = $_POST['pCode']; $submit = $_POST['submit']; $user = $_SESSION['username']; $quantity = $_POST['quantity']; $price = 300.00; $date = date("Y-m-d",mktime()); require('connect.php'); if($submit) { if($product_code) { mysql_query("INSERT INTO `order` … | |
Hello all, Im trying to do this tutorial on cakePHP website for 1.3 It asks me to use the cake bake function to automically create models based on the tables I made. (using .cake bake all) The bake functionality it self works great, but it presents one problem. cakePHP creates … | |
I am working on a project in which video streaming is required .In this project i used flowplayer.Is it possible in flow player to hide the video url? I am also needed to view pdf files in iframe.In it,is it possible to hide url of pdf file? | |
# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that … | |
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in G:\xampp\htdocs\Thorndon.php on line 57 <!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 name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, … | |
Hey everyone, I'm using sessions in my application which retrieves the questions and answers asked by users. The tricky part here is how I can know how to allow users that they can edit and delete their own posts. As far as it is concerned, I have got this idea … | |
Hi all, i am trying to run the following HTML page which is the memebers area after the user login is sucesful the session is registered please check it and help me:- HTML code:- <!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" xml:lang="en" lang="en"> <head> <style type='text/css'> /* … | |
Hello, I am trying to import mysql backup from the old computer to the new computer and these error appears: Pencarian SQL: -- -------------------------------------------------------- -- -- Table structure for table `nafqc_usergroups` -- CREATE TABLE IF NOT EXISTS `nafqc_usergroups` ( `id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', … | |
Hi this is scorpionz.. i am facing a problem for the last 5 hours as URL file-access is disabled in the server configuration Description: I have a project with path c:/xampp/htdocs/mysite/config.php Thats my configuration file name. I have a folder in root which is getting connection c:/xampp/htdocs/mysite/folder/testpage.php now when I … | |
Hi this is scorpionz: I need to know how to insert PHP block in database using PHP, because i am generating random tables. So i need that to insert: Here is the query: [code] <?php $sql_insert_revisions = 'INSERT INTO node_revisions(nid,vid,uid,title,body,teaser,TIMESTAMP,FORMAT) VALUES ('.$nid_ins.','.$vid_ins.','.$user_id.','.$ad_title_view.', '"<?php $block = module_invoke('block', 'block', 'VIEW', 66); print … | |
Hello, I am trying to import mysql backup from the old computer to the new computer and these error appears: Pencarian SQL: -- -------------------------------------------------------- -- -- Table structure for table `nafqc_usergroups` -- CREATE TABLE IF NOT EXISTS `nafqc_usergroups` ( `id` int( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', … | |
I am having trouble with this code: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#"> <body> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <fb:like href="http://www.MyWebsite.com" send="false" layout="button_count" width="200" show_faces="false" font="verdana"></fb:like> </body> </html> The … | |
Hi People, Got a small issue...... And don't know exactly where the problem is. I'm trying to implement Online Manga Viewer in my site. I've tried this as a stand alone page and it works fine. What this viewer does is... There is a select box... Where I've got to … | |
Hi All, I am trying to rewrite the URL http://www.example.com.br/folder/sub_folder/my_profile.php to http://www.example.com.br/folder/my-profile. I have tried lot of rewrite method but i can’t redirect the URL. Please anyone help to solve this. | |
How to save the favicon draw in the favicon drawing tool using php | |
Hi all, ive got a big question about conducting mysql_queries.. i have a schedule program that needs to sort through and pick the records that apply.. the date will change, and used a php date() formatted to mysql date and pick out the ones records that are active vers inactive. … | |
Hi I work on a 'play play server' on my pc, for lack of a real server, for this I use WampServer, I have recently updated my version. I suspect its running PHP5 - and Im used to PHP4 behaviour... Most of the pages I use forms on have the … | |
i try different method to hide the "hide" div if status result is "E" i have four status : R ,A , I and E,, if status is E then show the "hide" div other vise hide it,, you people suggest me something, thanks in advance,,, code is here : … | |
I'm a newbie here trying to figure out why my simple php code is not working inside html. Files with .php extension however works fine.The page is just blank. I modified the following line "AddType application/x-httpd-php .php" in http.conf to "AddType application/x-httpd-php .php .html" I tried adding these lines to … | |
I have one table as movie. In that i have one field as 'image' in which i want to store the images. In my mca project, I m trying to make admin panel. For this when administrater is going to add movie details, at that time i want to store … | |
Can anybody tell me another good file uploader than blueimp and plupload? | |
I am using cPanel webmail interface to acces my company's email but I was requested to change the webmail branding with my company logo and color theme. I found out there are 3rd party web mail application that I can plugin into cPanel but I cant find one. Can you … | |
how to make a private message using php? please help me with my project .. i need full details.. thankyouxoomuch :) | |
include '../../snippets/connect.php'; $orgid = $_GET['orgid']; if(!isset($orgid) || empty($orgid)){ die("Please select your image!"); }else{ $query = mysql_query("SELECT orghomepic FROM org_home_pic WHERE orgid='".$orgid."'"); $row = mysql_fetch_array($query); $content = $row['orghomepic']; if (empty($content)) { **$image = imagecreatefromjpeg('http://www.ineed.org.uk/dev/media/images/nohomepic.jpg'); header('Content-type: image/jpg'); imagejpeg($image);** } else { header('Content-type: image/jpg'); echo $content; } } So this was working previously … | |
Hi, I want to upload files from one remote server to another using CURL I used following to upload a text file in "localhost/uploads/example.txt" to another machine http://192.168.0.202/example/ <?php $ch = curl_init(); $data = array('name' => 'Foo', 'file' => '@localhost/uploads/example.txt'); curl_setopt($ch, CURLOPT_URL, 'http://192.168.0.202/example/'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_exec($ch); … | |
hi, i already reach to the end of my project, however there are still minor features i want to add in for the upload. When the user upload their pictures, i need to create a folder for that particular user and store the picture inside, means different user for different … | |
Im developing a simple attendance system for my organization im updating the checkin and checkout on session base so when the user get login and its session created i stored the the time in database and when he logout and the session and distroyed i update the field of checkout … | |
Dear all, I have a problem to count the total of receiving items.. but when I run this code I output of the total displayed "1".. not "5"...here my code.. hope someone can help me to count the total of receiving.. <?php include 'connection/db_connect.php'; ?> <form name="form1" method="post" action=""> <table … | |
Hi everyone, I'm sure there are people who are using highCharts framework. I'm having a trouble passing the values to jquery code from PHP json. Your help is so appreciated. This is my php section <?php header('Cache-Control: no-cache, must-revalidate'); header('Expires: Mon, 01 Jan 2013 00:00:00 GMT'); // The JSON standard … |
The End.