39,323 Topics

Member Avatar for
Member Avatar for johndohmen1963

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( …

Member Avatar for johndohmen1963
0
157
Member Avatar for mionazraelmiranda

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` …

Member Avatar for mionazraelmiranda
0
174
Member Avatar for soapyillusion

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 …

Member Avatar for petr.pavel
0
88
Member Avatar for daniel36

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?

Member Avatar for daniel36
0
419
Member Avatar for pritaeas

# 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 …

39
7K
Member Avatar for dean.ong.14

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, …

Member Avatar for jwer
0
91
Member Avatar for rotten69

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 …

Member Avatar for broj1
0
177
Member Avatar for pranay1995

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'> /* …

Member Avatar for pranay1995
0
246
Member Avatar for davy_yg

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', …

Member Avatar for peter_budo
0
78
Member Avatar for scorpionz

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 …

Member Avatar for scorpionz
0
638
Member Avatar for scorpionz

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 …

Member Avatar for scorpionz
0
467
Member Avatar for davy_yg

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', …

Member Avatar for joshl_1995
0
136
Member Avatar for Djmann1013

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 …

Member Avatar for LastMitch
0
164
Member Avatar for Albert Pinto

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 …

Member Avatar for magicmarkuk
0
175
Member Avatar for satheeshr07

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.

Member Avatar for diafol
0
112
Member Avatar for kumar gowrav
Member Avatar for JorgeM
0
55
Member Avatar for duneflyingyfz_1

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. …

Member Avatar for duneflyingyfz_1
0
2K
Member Avatar for lifeworks

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 …

Member Avatar for eelias75
0
344
Member Avatar for muhammad.waleed.9699

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 : …

Member Avatar for blocblue
0
881
Member Avatar for priya667

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 …

Member Avatar for diafol
0
2K
Member Avatar for MMadhavi

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 …

Member Avatar for diafol
0
220
Member Avatar for daniel36

Can anybody tell me another good file uploader than blueimp and plupload?

Member Avatar for diafol
0
165
Member Avatar for ibekzy

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 …

Member Avatar for diafol
0
186
Member Avatar for cutiexhubx_1

how to make a private message using php? please help me with my project .. i need full details.. thankyouxoomuch :)

Member Avatar for pritaeas
0
57
Member Avatar for tom.vardy.12

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 …

Member Avatar for tom.vardy.12
0
217
Member Avatar for divyakrishnan

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); …

Member Avatar for ainosilva
0
1K
Member Avatar for fujilec

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 …

Member Avatar for Qyla21
0
3K
Member Avatar for fahad.tariq

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 …

Member Avatar for blocblue
0
137
Member Avatar for HasNor

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 …

Member Avatar for blocblue
0
147
Member Avatar for rotten69

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 …

Member Avatar for rotten69
2
403

The End.