39,320 Topics

Member Avatar for
Member Avatar for R3Slick

Ok I was working on this yesterday, and I couldn't get it. I have a php file called search.php and a file called searchResults.php, if a user wants to search for an employeeName/EmployeeID/team/department/manager (in a DB) specifically they will use the search.php page and then click submit and show the …

Member Avatar for prateekshaweb
0
164
Member Avatar for shishtawitch

if i have [ if statement ] in my php code than with jquery it is not working...........!! e.g if i have --------------------------- [CODE]<?php if(myquery){ }else{ do jquery here } ?>[/CODE] ------------------------------ but jquery in else area is gone disable how can i fix that.........!!

Member Avatar for gamingdrunk
0
114
Member Avatar for kira4

May I know how to fix the frame in my system so that they will not shift their position? When I open my system in other computer or when I zoom it, the frames in my system will move. May I know how to fix it? I use <table>, <div> …

Member Avatar for nileshgr
0
95
Member Avatar for sanna.s

hello...i m new to the web designing field, currently i m working on wordpress themes for my website, the exact link of the theme for which i m working is{*"http://www.press75.com/the-folio-elements-wordpress-theme/"*},the theme "folio elements" has a image slider and when we click on a particular image it gives us the details …

Member Avatar for nileshgr
0
82
Member Avatar for achiman

Hi please can anybody tell me if it is possible to write a code in php that will change the image being display on my website every second. In others I want three different images to display at my homepage but at intervals. Thanks

Member Avatar for achiman
0
102
Member Avatar for miguel1810

Hello DANIWEB! Haven't posted before... but find this site a good info resource... but I'm pulling my hair out with my php register code - don't know what I'm doing wrong... as the code i've written doesn't send on the site i'm working on... Here's the code [CODE]<?php if(!$_POST) exit; …

Member Avatar for shishtawitch
0
157
Member Avatar for muralibobby2015

hello.. i did livechat script using php & mysql. in that multiusers can chat with admin. admin simultaniously gives replys to users. actually first time newuser send a msg to admin automatically new chat box appear. for that i used onload event. now new user come to chat with admin …

Member Avatar for shishtawitch
0
72
Member Avatar for veledrom

Hi, I want to show the image as well as printing the id, name, time etc with it. How can I do it? First code prints all the data as it is without showing image. Second code shows image without other info. Thanks This code returns binary code of image. …

Member Avatar for programmersbook
0
219
Member Avatar for Vodlink

Hello i am working on a project to create a wiki site and i have to create a profile page where it displays the username and a list of pages they can view and a seprate list of pages they can view and edit. i have no idea how to …

Member Avatar for diafol
-1
82
Member Avatar for garyy

Hi, I'm getting the following errors in my php code. Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 18 Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 27 Any help much appreciated. Here is my PHP code: [code] <?php include("connect.php"); // How many adjacent pages should be shown on each …

Member Avatar for garyy
0
489
Member Avatar for zhoufenglei

i have set "session.gc_maxlifetime = 10" in php.ini ,and is reboot apache service.but when i request the example pages after a minites ,the session is active still.the code is : [code] <? session_start(); echo $_SESSION['Login']; ?> <!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; …

Member Avatar for Da_Lawdog
0
113
Member Avatar for firefly91

When I include these 2 functions on a page I seem to get this error: [B]Warning: Cannot modify header information - headers already sent by (output started at /home/vmtgiqlm/public_html/fftest/encryption.php:43) in /home/vmtgiqlm/public_html/fftest/check_login.php on line 40[/B] I don't know why that would happen as these functions do not output any text. Anyway …

Member Avatar for firefly91
0
94
Member Avatar for polegon

Script for register your web site to 3 SE: [CODE]<?php // The following code is required to properly run Web Human Emulator require("../../Templates/xweb_human_emulator.php"); // This script submit your site to 3 Search Engines // Google // MSN // Yahoo // for request more SE please write to humanemulator@gmail.com // ======================= …

Member Avatar for polegon
0
198
Member Avatar for rajeesh_rsn

Hai, I likes to know the exact process of php captcha verification. As best of my knowledge the process is as follows 1. First create a randon string 2. Create an image and write this string into that image. 3. Then store the string variable in a hidden field in …

Member Avatar for pritaeas
0
53
Member Avatar for sam023

error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!!

Member Avatar for network18
0
127
Member Avatar for rajeesh_rsn

Hai, I had the following code to create an image verification in my php page. Everything working fine. But I need to increase the size of the font in this image. Please help me Thanks in advance Rajeesh my code looks as follows [ICODE]session_start(); $md5 = md5(microtime() * mktime()); $string …

Member Avatar for network18
0
91
Member Avatar for Xamas

I'm build a huge xml->mysql data importer ar parser from outer server. And I need a script example, what to do with big [CODE=PHP] $xml = simplexml_load_file('plane.xml'); if($xml) { for($lvl1=0; $lvl1<(count($xml->Trip)); $lvl1++) { for($lvl3=0; $lvl3<(count($xml->Trip[$lvl1]->Hotels->Hotel)); $lvl3++) { // Fill an array with the travel data $element['trip_id'] = (string)$xml->Trip[$lvl1]['id']; $element['description'] = …

Member Avatar for digital-ether
0
428
Member Avatar for nickora

has anyone installed wordpress on a joomla website and tried to integrate users? Im weighing up the pro's and cons of doing this to a couple of sites, I dont need the users to be integrated just yet, but it is something I think might come up in the future …

Member Avatar for digital-ether
0
149
Member Avatar for Longoro

Can someone help me with this please? I’m playing with a stat tracker, and with the code snippets below I’m trying to get the total result for each page stored in the database. The problem is that I get this warning when I run the script: [B]Warning: mysql_result() expects parameter …

Member Avatar for antonkejr
0
427
Member Avatar for Stefano Mtangoo

I have afunction to retrieve data and it gives error. Please correct me! [CODE=php] public function getswachapter($book, $chapter){ //SELECT * FROM table1 INNER JOIN table2 ON table1.id=table2.id; //remember to sanitize inputs $sql = mysql_query("SELECT * FROM kiswahili WHERE Chapter = '{$chapter}' AND Book = '{$book}'")or die(mysql_error()); $limit = mysql_num_rows($sql); $query …

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for bigjoke

Hi everyone, i am going to be tackling creating pdf files using php on the fly... php would get information from the database and then create a pdf copy of the relevant info gathered. Now, first things first, i need to check if my php installation can accomplish the task. …

Member Avatar for kvprajapati
0
87
Member Avatar for scorpionz

Hi This is scorpionz Hope everyone is fine. Here is the reason of this thread: I have a site with such url: [url]http://www.testsite.com/details.php?cart=44[/url] this is a site definitely giving the result of some detail page. means specific Product details. Let suppose having Product name: Xyzabc now i want this link …

Member Avatar for techniner
0
157
Member Avatar for muralibobby2015

hello, i want to do chat script in php. actual requirement is user chat with only with admin. if admin is in online user chats directly. otherwise that chat msg will go to admin mail. at this time another user may come to chat with admin another chat box will …

Member Avatar for muralibobby2015
0
87
Member Avatar for vishalonne

Hi Every body Once again I'm in problem and want some help from you all I have written a small code to search a particular value in MySql database and then to display the record based on that value - Like to search a Employee code in database and then …

Member Avatar for venkat0904
0
143
Member Avatar for whitestream6

How do you get this to work? - well, for more than simple <strong> and <i> tags - I'm trying to get a HTML table in as an array, if this is possible! Any advice is appreciated!

Member Avatar for Airshow
0
94
Member Avatar for darjana
Member Avatar for codewalkz

I can't seem to limit the result to a desired number. I have this code: [code]//GET THE TOTAL OF LEVEL 2 $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '1' or sponsor = '2' or sponsor = '3') LIMIT 0,1")or die(mysql_error()); while($row = mysql_fetch_array( $result )) { $lvl2parent = …

Member Avatar for pritaeas
0
142
Member Avatar for sleign

ok I know there's a way around this otherwise radio buttons and checkboxes wouldn't ever be used in forms...so I've been trying to figure this one out... I have a dynamic form that consists of an associative array. Each row in this form consists of: name, id, 3 radio buttons …

0
110
Member Avatar for loveisblind

hello. I have a drop down menu that pulls from a mysql database. I know its connecting fine and there is actual items in the drop down menu because I echoed them. However when I look at my drop down box, you cannot see the options! I know the items …

Member Avatar for venkat0904
0
151
Member Avatar for R3Slick

Hello, Im having trouble with creating page that will search a database for the values entered. I have a Search.php file that has this [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Payroll and Timesheet Management Website</title> <link rel="stylesheet" type="text/css" href="styles.css"/> </head> <body> <?php writeHeader(); ?> …

Member Avatar for nav33n
0
287

The End.