39,316 Topics

Member Avatar for
Member Avatar for manu555

[CODE]<?php require_once 'library/config.php'; require_once 'library/functions.php'; if(isset($_SESSION['sql_view'])) { $sql_view=$_SESSION['sql_view']; $result = dbQuery($sql_view); extract(dbFetchAssoc($result)); }else { //header('Location: index.php'); } $FileName ="view.doc"; header('Content-Type: application/word; name="word"'); header('Content-Disposition: attachment; filename="' . $FileName . '"'); header('Content-Type: application/word;'); ?> <!--<form id="frmSample" name="frmSample" method="post" action="" enctype="multipart/form-data" onsubmit="return ValidateForm()" >--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="11%"></td> <td …

Member Avatar for jogesh_p
0
163
Member Avatar for blaaam

Hi! I have tryed do it from examples, but without succes. So my problem is - i have form where can change settings, but i have problem i need scripy wich will not insert into database new numbers or laters, but update(change) them. I have found some examples but i …

Member Avatar for cwarn23
0
320
Member Avatar for shujat132

Hello Dear Brothers & Sisters how are you....? Well, i am facing a problem while handling a script and database. actually i am trying to shift some data (user id form database) form one page to another. through $_GET (if you have any other technique also suggest.) and after transfring …

Member Avatar for Metophase
0
218
Member Avatar for twoods99

Im trying to create a php webpages to update information in an access database using a odbc connection the page1 sends the variable to page3 and displays the result page two allows you to pick which row to update then goes to the update page where i want text boxes …

Member Avatar for cwarn23
0
154
Member Avatar for andersiversen

Hi I used the script from this old thread: [url]http://www.daniweb.com/web-development/php/threads/60795/page3[/url] on a vps I have running drupal on a lamp stack. I'm fetching the email address to send to from my database and then loops through all fetched addresses and sends the mail. It works brilliantly, but my problem is …

Member Avatar for kevindougans
0
136
Member Avatar for govnah

Hi friends, i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation. so far i've been able to list the folders in the directory …

Member Avatar for govnah
0
175
Member Avatar for 18engineer

i want the code of passing form elements with post in php with ajax.. i am trying a number of codes,but all in vain:( can anyone send me please, full code

Member Avatar for joehms22
0
150
Member Avatar for andarivaadu1

[CODE]<?php $author_id = $_GET['author']; $subject = $_GET['subject']; $pubtype = $_GET['type']; $year = $_GET['year']; $college = $_GET['college']; $department = $_GET['department']; $keyword = $_GET['keyword']; $keyword = mysql_real_escape_string($keyword); $subject = mysql_real_escape_string($subject); $year = mysql_real_escape_string($year); //If any of the fields were left blank, we will assign % to the variable to use as wildcards …

Member Avatar for joehms22
-1
156
Member Avatar for srinidelite

Hello EveryBody, Today i planned why not myself to do project in php... The idea behind in this is ... to avoid people just like that answering questions in objective type.. like if a person who ans a question who suppose to ans further Q..Who discovered php? a.ramus b.denis c.srini …

Member Avatar for Stefano Mtangoo
0
239
Member Avatar for tgr0ss83

I have the following PHP code [CODE]<?php // SimpleHTMLDom Library require_once('simple_html_dom.php'); // Source Data $source = 'table-array-data.htm'; // Displays Extra Debug Info $dbg = 1; // Read DOM $html = file_get_html('http://www.ercot.com/content/cdr/html/real_time_system_conditions'); // get the table. Maybe there's just one, in which case just 'table' will do //$table = $html->find('#theTable'); // …

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for blaaam

Hi! I have question, is it possible from web page change information in php file? If it is then how? I tryed search google, but nothing. For exemple : I open settings page in my browser and there i have section Background color : <and here have input tag> and …

Member Avatar for diafol
0
169
Member Avatar for AngieS

With the code below I have the plant information printing out first and then all of the availability printing out last. Is there any way I can get both printing together, but not have duplicate pictures and information for the numerous sizes that sometimes list per plant. Ex. Buxus Green …

Member Avatar for diafol
0
205
Member Avatar for prabhjitsw

Hello Everybody ! i have a few questions for u I have already made an appointment booking website on PHP using PHP Designer as editor and on WAMP platform, i run it on localhost. The website consults Database and puts forward the times available and lets users fix appointments and …

Member Avatar for chrishea
0
252
Member Avatar for scamquist

I have an intranet using php 5.3.8 on Server 2003 using IIS 6.0 and SQL 2005. I run a command to call a batch file that starts and stops sql server and then calls a stored procedure to delete records from a table Items and then refreshes the records from …

Member Avatar for scamquist
0
205
Member Avatar for Brachamul

Hello world ! First of all, i'd like to say that this is my first page in PHP, so i may have made the most basic of mistakes :) I wrote most of this from a tutorial i found somewhere on the web. I get the following errors : Notice: …

Member Avatar for Brachamul
0
692
Member Avatar for morrisproject

I currently have fields on my form which are set up as integers in phpmyadmin. I want to be able to display error messages if any field has been left blank when save is clicked, but at the moment i keep getting column '......' cannot be null. or maybe an …

Member Avatar for morrisproject
0
124
Member Avatar for begueradj

Hello people, I have downloaded a datepicker in order to use it in my script so as to allow people to pick their date of birth. The date picker in question is this one : core.ui.datepicker/ui.datepicker.js It works, but the problem is that it shows only the years that start …

Member Avatar for sudhirmadaan
0
1K
Member Avatar for godfather21

hello guys.i have an issue.i want to show certain tabs based on user level. my user levels are: master admin supervisor gp patient But it an admin might be a gp also.how am i supposed to do that?

Member Avatar for godfather21
0
159
Member Avatar for stanley87

Dear all friends, Currently I want developing an API so that others web site also can use the API's information by using the API code generate by my web site.Any people can give the idea on how exactly the API works?My basic requirement are: 1.my website generate the public API …

Member Avatar for cwarn23
0
109
Member Avatar for baig772
Member Avatar for baig772
0
91
Member Avatar for IanArcher

Here is the code It's an Open type free use code for convert css to inline style codes by capturing from your own html code or a url and it outputs an html code when finished. Because i need to send webpages in an e-mail. I am brand new to …

Member Avatar for pritaeas
0
238
Member Avatar for xofth

having much problem in email. i tried everything..but dont know whats hapening im getting simple plain text email while im sending the html input [CODE] { $from_name= ADMIN_NAME; $from_email=ADMIN_EMAIL; $subject="Simple html email"; $message = '<h1>Hello, World!</h1> </br>'.$_POST['msg']; $headers = "From: $from_name <$from_email>\r\n"; $headers .= "Reply-To: $from_name <$from_email>\r\n"; $headers .= "Return-Path: …

Member Avatar for cwarn23
0
332
Member Avatar for dks1385

I want to make a simple anti proxy (anti internet filter) how do I should start it? is there any OpenSource anti proxy? is there any articles about making anti filters?

Member Avatar for P0lT10n
-2
182
Member Avatar for lps

Good day, I am having problem with the wordpress add_action function. currently, I tried the code provided in wordpress.org forum without success: [CODE] $comment_ID="15"; function echo_comment_id( $comment_ID ) { echo "I just received $comment_ID"; } add_action( 'comment_id_not_found', 'echo_comment_id', 10, 1 ); [/CODE] When I run the code, $comment_ID does not …

0
100
Member Avatar for 18engineer

[CODE]$ClassName=mysql_real_escape_string($_POST["ClassName"], $con); $query="SELECT ClassID FROM Class WHERE Name='".$ClassName."' "; $q=mysql_query($query,$con);[/CODE] its not working..any help...please............!!!!!!!!!

Member Avatar for Sorcher
0
114
Member Avatar for aonent

I have built a site completely off of tutorials. aonentertainment.com in the pursuit of learning and profit to pay for classes. I want to add (Next,1,2,3,Previous) so I do not have to manually create new pages. I searched DaniWeb.com and found >> [URL="http://www.daniweb.com/web-development/php/threads/1720"]Clean Previous Next Script for MySQL[/URL]. Link to …

Member Avatar for Stefano Mtangoo
0
243
Member Avatar for musbah

Hello,I'm new here and I'm not here to beg for code or anything i just need some help as to something I'm doing. I'm fairly good with php and I have been trying to do something with no luck. I want to make 3 links and 3 hidden images. When …

Member Avatar for Stefano Mtangoo
0
154
Member Avatar for Behseini

Hi everyone, Can you please let me know why I am getting error on populating Persian(Arabic)Numbers?! I have saved the php file as "Uncode in UTF-8" format which can display the dropdown list in a HTML correctly but when I want to retrieve them in PHP I encountered with following …

Member Avatar for diafol
0
360
Member Avatar for aonent

Hi I have created a site, but I am stumped on how to make the back ground click-able where the Nike graphig is with out making the whole page click-able. [URL="http://aonentertainment.com"]Link to my site[/URL]. [URL="http://aonentertainment.com"]http://aonentertainment.com/[/URL]

Member Avatar for diafol
0
60
Member Avatar for trevor_shiggs

Newb here. Parse error: syntax error, unexpected '{' in /home/litt6041/public_html/listing/wp-content/plugins/great-real-estate/templatefunctions.php on line 1502 Heres the code I have in that doccument. Sorry its so long. For some reason dreamweaver adds a bunch of spaces when viewing. Please help, Thanks! [CODE] <?php /* * public functions provided by the Great Real …

Member Avatar for Stefano Mtangoo
0
296

The End.