39,393 Topics

Member Avatar for
Member Avatar for mcastu

hi ......... i have two tables emp_company and at0310 in at0310 having fields: ecardno,atdate,time,IO,serialno,cardrd and ecode. and at0310 records comes from text file.. into my text file ecardno,atdate,time,IO,serialno,cardrd record available but ecode not comes from there. in my emp_compnay i have fields like ecode,ecardno,etc i want into my at0310 table …

Member Avatar for damnpoet
0
108
Member Avatar for yuryla

print <<<HERE <form name="form1" method="post" action=""> <table width="100%" border="0"> <tr> <td align="left" valign="top"><label>Topic <input name="msg_subject" type="text" id="msg_subject" size="55" maxlength="35"> </label></td> </tr> <tr> <td align="left" valign="top"><label> <textarea name="msg_message" id="msg_message" cols="60" rows="5"></textarea> <input name="id" type="hidden" id="id" /> </label></td> </tr> <tr> <td align="left" valign="top"> HERE; ?> <?php $s = " "; $sql_list = …

Member Avatar for damnpoet
0
174
Member Avatar for whitestream6

This is my PHP code (currently commented out in my templates) which is used in the project mentioned here - [url]http://www.daniweb.com/forums/thread251774.html[/url] (a currently ongoing project): [CODE] <div class="indented searchFooter" style="border-top: 1px solid rgb(207, 214, 233);"><table summary="" class="stNoMargins" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="tinyText stNoMargins"><div class="btnContainer"><ul><li><a class="smBtnSel" href="tvguide.php?page=1">1</a></li><li><a class="smBtn" href="tvguide.php?page=2">2</a></li><li><a class="smBtn" href="tvguide.php?page=2" title="Next …

Member Avatar for whitestream6
0
600
Member Avatar for azegurb

hi everyone i want to build pagination with PHP but i cannot for ex i have 100 number of news and i like my page show only 10 news per page so let it displays 10 page and below let it is written page1, page2, page3, and whenever i want …

Member Avatar for damnpoet
0
84
Member Avatar for fuchsia555

hi everyone is it possible to point images to another website ? i mean for example: this domain doesn't host the image > [url]http://domain1.com/image.gif[/url] this domain host the image > [url]http://domain2.com/image.gif[/url] i want when i request ( [url]http://domain1.com/image.gif[/url] ) it's point to the image on domain2 is it possible by …

Member Avatar for damnpoet
0
112
Member Avatar for jespin

Hi all, I have an issue with a PHP and MySQL deletion script where I am basically trying to delete all records for meetings which have expired. For this, on input, I have a date input calendar which inputs the date in the format 2010-01-18 to the database with the …

Member Avatar for jespin
0
190
Member Avatar for tulipputih

Hello, How can we save a page to another drives/devices I did use a form in my page- result.php- In result.php I put one button for save As. all of the elements are disabled in this page. and I hope that the details of that page will be copied to …

Member Avatar for diafol
0
153
Member Avatar for cane23

if its not to much i just trouble can anyone offer any ideas as to how to investigate a string. i have 2 numbers first number=806000842 second number=05234578 as u can see the two numbers are of different length with the first being 9 characters and the second being 8 …

Member Avatar for OS_dev
0
87
Member Avatar for solarb

hi all! i'm new with php and i have problem. I have a submit form in which every user places code.when they submit it in database its displayed normally there, but when i try to view the data in php there are missing elements , as b<<c or <iostream> etc. …

Member Avatar for solarb
0
153
Member Avatar for tlctara

I use a php file in order to collect data from an interactive form on a website. The php code sends the submitted file to a folder on the server, and displays a "Thank you for your submission" message. I would like to add a hyperlink to a payment page, …

Member Avatar for put3
0
535
Member Avatar for damnpoet

Hi i'm trying to export a journal article with fpdf everything work's fine. But i can't seem to find a solution on how to align the article's two columns at the last page of the exported PDF. Any ideas?

Member Avatar for damnpoet
0
169
Member Avatar for nelliott10

I am trying to export sql data into a pdf file, can this be done? Hope someone can help, cheers

Member Avatar for damnpoet
0
89
Member Avatar for kalyan469

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1,1,'','',1,1,'',1,1,1,1,1,'',1,1,1,1,'','','','','','','','','','','','','',''' at line 1 <?php include '../_includes/connection.php'; $foodtype=$_REQUEST['foodtype']; $ffoodtype=$_REQUEST['ffoodtype']; $water=$_REQUEST['water']; $tea=$_REQUEST['tea']; $ftea=$_REQUEST['ftea']; $binge=$_REQUEST['binge']; $junk=$_REQUEST['junk']; $fruits=$_REQUEST['fruits']; $ffruits=$_REQUEST['ffruits']; $oil1=$_REQUEST['oil1']; $oil2=$_REQUEST['oil2']; $smoke=$_REQUEST['smoke']; $fsmoke=$_REQUEST['fsmoke']; $alcohol=$_REQUEST['alcohol']; $falcohol=$_REQUEST['falcohol']; $tobacco=$_REQUEST['tobacco']; …

Member Avatar for FlashCreations
0
201
Member Avatar for itisnot_me

ok so i was starting to make a query and thought that there could be a better way of making it. what i am trying to do it only print entries that does not have there value as null. ex: phone IS NOT NULL and street IS NOT NULL i …

Member Avatar for FlashCreations
0
101
Member Avatar for azegurb

hi all i need to learn what does this mean (this style of writing) may be is there another variant to write the code [CODE]<? exit;} if($_GET['step'] == "2"){ $name_db=$_POST['name_db']; $host_db=$_POST['host_db']; $user_db=$_POST['user_db']; $password_db=$_POST['password_db']; $connect=mysql_connect($host_db,$user_db,$password_db); mysql_query("create database $name_db"); $connect=mysql_pconnect($host_db,$user_db,$password_db); mysql_select_db($name_db,$connect); $sql1 = "create table `config` ( `id` int(1) NOT NULL default …

Member Avatar for azegurb
0
89
Member Avatar for tustind

I have a table in which each entry has a view counter. I would like to create a list that displays only entries that are within 100 views of a 1,000 view threshold. But, I want to also show each entry at any interval of 1,000 views. I.E., I would …

Member Avatar for edwinhermann
0
91
Member Avatar for turbodave

I have searched, promise! great site btw. I work for a small video production company and we often post work in progress to our website for clients to check out and comment on. I do this by encoding a video, uploading to our server and creating a static page, embedding …

Member Avatar for OS_dev
0
173
Member Avatar for vishalonne

I have a simple question I am developing 1 simple Job Site. 1. Where Job seekers will upload their Resume (in format of .txt or .doc or .docx file). 2. After tat if they want they can preview their uploaded resume in HTML format in different window. I just want …

Member Avatar for OS_dev
0
78
Member Avatar for WargRider

Hello everyone, I have an issue, I am making a website at the moment using multiple divs as usual, but there is a probably with two of my divs. Events and News, event is supposed on the left side of the container on EVERY page of the website, which I …

Member Avatar for WargRider
0
142
Member Avatar for azegurb

hi al PHP masters does anyone can show bugs in PHP code and explanation please it news publishing script index.php [CODE]<?php require_once("config.php"); require_once("include.php"); require_once("template_index.php"); header("Content-Type: text/html; charset=utf-8"); $dir = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if (!strpos($dir,"?") === false) $dir = substr($dir,0,strpos($dir,"?")); $dir = substr($dir,0,strrpos($dir,"/"))."/"; if ($c){ $c = substr($_SERVER['REQUEST_URI'],strpos($_SERVER['REQUEST_URI'],"index.php?c=")+12); $c2 = $c; $c2 = …

Member Avatar for azegurb
0
231
Member Avatar for andydeans

hi, i have designed my clients site, and currently you can login and add a client, i then have a few tables which are policies that are sold to the client. i have created a foreign key between the policy table and the clients table. what i want to do …

Member Avatar for diafol
1
286
Member Avatar for cwarn23

Yes it's about loops. I have the below script and the first loop there is no problem as it mixes the variables but on the second loop I can't seem to figure out how to find the value of $c. Does anybody know because this is an annoying puzzle I …

Member Avatar for cwarn23
0
115
Member Avatar for SuntechWebsites

I am looking for a way to not only upload a file, but replace it if it has the same name. Can this be done?

Member Avatar for Wraithmanilian
0
58
Member Avatar for HB25

Hi I have two tables called client and booking, the primary key in client table is clientID which is autoincress number and it’s a primary key, in the second table (booking) the primary key is bookingID and its autoincress number and the clientID is foren key. I have a questions: …

Member Avatar for Babaty
0
6K
Member Avatar for brixton

Hi! I've managed to put together a header in my mails that escapes both Gmail and Hotmail's mail filters, so I guess it's not all that bad. However, for my work mail, which has a very nasty filter, it gets stuck in quarantine. So I figured I should ask for …

Member Avatar for almostbob
0
899
Member Avatar for ytregnn

I have a problem with a script that I bought. I'm trying to put the files in a different directory (different from the original) and for some reason I receive an error message saying; ” File(../../poll/Poll.php) is not within the allowed path(s)”. I've received this answer from the programmer of …

Member Avatar for pbcomput
0
111
Member Avatar for cane23

i am having some problems posting some values into a form when i click edit. i have checked to make sure that the variables contain the values that i want however they are not posting back to the form. here is my code below. [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['id']; …

Member Avatar for pbcomput
0
127
Member Avatar for venus_me11

i dont have any idea how to send through email i have a sample ticket. i dont know if i'm going to convert the php file into pdf.. i have no idea exactly.. if ever its hard, how can i send the sample ticket through inputted email of a customer...

Member Avatar for venus_me11
0
93
Member Avatar for whiteyoh

Hi All, In my php script i need to concatenate 4 tables from a foreign key of dev_id. It will be a select *. I know, for example that 4 tables have a value of dev_id=115, but when i run the script it gets no results. here is my attempt …

Member Avatar for saiprem
0
59
Member Avatar for lisles

hey,i have a login form wherein the take the username and password from the user and submit the form.im using burpsuite t check 4 threats.when i click on the submit button the password is visible.is it possible to encrypt the password as soon as enter it instead of passing it …

Member Avatar for cwarn23
0
111

The End.