39,316 Topics

Member Avatar for
Member Avatar for Naimathullah

I need to display picture name when i move mouseover the picture using onmouseover. Please let me know what I need to add either to javascript or to PHP. <style> #contactdiv { position: absolute; left: 100px; top: 100px; width: 100px: height: 20px; padding: 5px; background-color: red; visibility: hidden; } </style> …

Member Avatar for Airshow
0
703
Member Avatar for eulo

hi all. I have some problem. I want to make Delete multiple rows in mysql with check box. so I did it below. but delete doesn't work. could you tell me where is wrong ? <?php include'conn.php'; mysql_select_db("auction")or die("cannot select DB"); $sql="SELECT * FROM family"; $result=mysql_query($sql); $count=mysql_num_rows($result); ?> <table width="400" …

Member Avatar for simplypixie
0
228
Member Avatar for lizetta

Hey guys I have a mysql database that has an events table. The events table consists of the fields Title, Date, Place and description. I am trying to display the table on the browser using php coding. it should list important events first according to the date. so as follows …

Member Avatar for simplypixie
0
255
Member Avatar for ayub05

I didn't use wordpress or joomla or drupal for my blogsite.Here i see all plugin codes built for wordpress. but these codes does not work at my site. But how can i add Social bookmarking button code to my own created blogsite? my website is built by html, php, css …

Member Avatar for LastMitch
0
244
Member Avatar for ajay.motah

hi, im having a problem using this jquery I mamanged it to g and fetch data from mysql n now i want it to disply only one class at a time on available or not available here is the js $(document).ready(function(e) { $('#txtAuction').keyup(function(){ check_availability(); }); }); function check_availability() { var …

Member Avatar for Airshow
0
123
Member Avatar for baig772

I have a search form, in which a user enters a keyword and it displays the results with the keyword in description as highlighted text, for highlighting, i have used another class on that keyword. problem is that, if there is a keyword in some hyperlink or in some <img> …

Member Avatar for baig772
0
226
Member Avatar for squeak24

I am working on a open source script at the moment, but I am struggling on one final aspect of the script. I am a bit of a newb to PHP at this level, I have a working knowledge of PHP and MySQL, but this seems to be a little …

Member Avatar for squeak24
0
229
Member Avatar for abhi287

Hi all I m using following code.. [code] <?php session_start(); if(!isset($_SESSION['captcha'])){session_register('captcha');} $PHP_SELF = $_SERVER['PHP_SELF']; $stringa = ''; $cifre = 5; for($i=1;$i<=$cifre;$i++){ $letteraOnumero = rand(1,2); if($letteraOnumero == 1){ // lettera $lettere = 'ABEFHKMNRVWX'; $x = rand(1,11); $lettera = substr($lettere,$x,1); $stringa .= $lettera; } else { $numero = rand(3,7); $stringa .= $numero; …

Member Avatar for aj4mq
0
560
Member Avatar for srvstv.prnc

i want to make a web application for scheduled calling. so how can i do that. Please help me.

Member Avatar for diafol
0
60
Member Avatar for vizz

How to create [Calendar](http://www.cafeshistoriques.com) like this example? Dates are marked for posts available. [Example2](http://www.easyphpcalendar.com/demoBlog7.php?ev=2456175&mo=9&yr=2012) I want to redirect on post.php and show only post available for date clicked from Calendar

Member Avatar for vizz
0
94
Member Avatar for ajay.motah

hi, im using jquery for dynamic diaply of login, but now i wish to start the $session once the login is sucsseful. but my code is found in a function in a php class. So can i call that function? Thank you!

Member Avatar for theHop
0
71
Member Avatar for venkyb47

I am unable to send a string from php page to java script page. I am storing a string in a php variable and I want to send this value to java script page on image icon click. Here is the source code: timetrack.php $activityid = $getResult->fields('ACTIVITY_ID'); // Now consider …

Member Avatar for venkyb47
0
340
Member Avatar for Tko_1

I am trying to redirect if working.php is present in folder other wise echo no file. this script only echo's no file. thanks. <?php $filename = 'working.php'; if(file_exists('$filename')) { header( 'Location: welcome.php' ) ; } else { echo "NO FILE"; } ?>

Member Avatar for Tko_1
0
114
Member Avatar for kartikkp

$getTime = time(); $newTimeFormat = date('h',$getTime); if($newTimeFormat > 3 && $newTimeFormat <=12){ echo "<section id=\"main\" class=\"column\"> <iframe height=\"890\" width=\"100%\" frameborder=\"0\" id=\"display\" scrolling=\"auto\" src=\"displayDayShift.php\"></iframe> </section>"; } if($newTimeFormat > 12 && $newTimeFormat <=21){ echo "<section id=\"main\" class=\"column\"> <iframe height=\"890\" width=\"100%\" frameborder=\"0\" id=\"display\" scrolling=\"auto\" src=\"displaySwingShift.php\"></iframe> </section>"; } if($newTimeFormat > 21 && $newTimeFormat <=3){ …

Member Avatar for Zagga
0
186
Member Avatar for Jiggles.X

Hi every one. I have a bit of a problem/ headache. I am trying to make a dropdown style menu for a website that runs off a CMS I made everything works fine but I can for the life of me get the menu system to work! This is the …

Member Avatar for Jiggles.X
0
109
Member Avatar for garyjohnson

Okay I have a database where it stores the users information, like their login name, email, and password. They can upload videos to my site, when they upload the videos, it saves to a database, the database is set up like this, VIDEONAME EMAIL NAME funny sample@email.com abcd.mp4 It stores …

Member Avatar for LastMitch
0
240
Member Avatar for andyy121

this is the index page <?php if (isset ($_POST['keywords'])){ $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty ($keywords)){ $errors[] = ('Please enter a serch terms'); }else if (strlen($keywords)<3){ $errors[] = ('Your search terms must be three or more characters'); }else if (search_results ($keywords) == false){ $errors []= ('Your …

Member Avatar for LastMitch
0
264
Member Avatar for andyy121

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <?php include 'func.inc.php'; ?> <title>SEARCH</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h2>SEARCH</h2> <form action="" method="post"> <p> <input type="text" name="keywords"/> <input type="submit" value="Search"/> </p> </form> <?php if (isset ($_POST['keywords'])){ $suffix =""; $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty …

Member Avatar for LastMitch
-1
386
Member Avatar for harsha.netpem

hello, I need to freeze the two columns from the large amount of data which is fetched from database using php. For e.g using the table students column name:- id, name, class, section, roll number,remarks,address,etc... I want to freeze two colums i.e id and name, so how can i create …

Member Avatar for diafol
0
284
Member Avatar for Ghost

Hi guys! I've been using PHP for fun for a while, and now I'm interested in playing with some scraping. I know regex is the way to go. So I'm trying to scrape a page of 4chan. I want to grab the images and the title of the thread of …

Member Avatar for diafol
0
238
Member Avatar for GazzaCurran

Hello, im very new to php. Ive created a form in dreamweaver using Tick boxes and normal text boxes. I need the form to send to a email, the tutorials ive read dont usually encorperate tick boxes. here is the form <form name="contactform" method="post" action="send_form_email.php"> <table width="450px"> <tr> <td valign="top">Personal …

Member Avatar for broj1
0
136
Member Avatar for sharathg.satya

can anyone provide any site with plenty of examples to learn PHP. i got [url]www.w3schools.com[/url] but i didnt find good examples in them. please help me.

Member Avatar for emoviefreak
-1
121
Member Avatar for PHPuss

<?php $db_conn = ocilogon("root", "admin", "//localhost/xe"); $cmdstr1 = "SELECT *FROM TESTS WHERE TEST_TIME BETWEEN TO_DATE('2012-01-01','YYYY-MM-DD') AND TO_DATE('2012-02-02','YYYY-MM-DD')+1 and SYSTEM_NAME like '%SYSTEM_1%' "; $cmdstr2 = "SELECT *FROM TESTS WHERE TEST_TIME BETWEEN TO_DATE('2012-01-01','YYYY-MM-DD') AND TO_DATE('2012-02-02','YYYY-MM-DD')+1 and SYSTEM_NAME like '%SYSTEM_1%' and RESULT='0'"; $parsed1 = ociparse($db_conn, $cmdstr1); $parsed2 = ociparse($db_conn, $cmdstr2); ociexecute($parsed1); ociexecute($parsed2); $nrows1 …

Member Avatar for pritaeas
0
87
Member Avatar for raj-uk

Hi All, i found this code which is ok but i need this to highlight whole line in colour, for example like: *1. Mr Johan call in office on sunday* *2. No More call to johan* *3. Johan has Paid All* I am telling the script to start from star …

Member Avatar for diafol
0
165
Member Avatar for flynismo

## A quick overview: ## After the login form is submitted, it is handled by a seperate file, which checks the form and sets session variables if the login was successful. The script works fine...it will log me in, and redirect me to the proper page as well as set …

Member Avatar for flynismo
0
281
Member Avatar for jacksantho

Hi, Any body please help me out, am facing the following error Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1704 bytes) in C:\xampp\htdocs\phpexcel\Classes\PHPExcel\Style\Borders.php on line 517

Member Avatar for riverspart
0
212
Member Avatar for marifard

Dear, I have 2 tables, first table name: directory fields: id, name, surname num1, operator1 (operator id from operator table), num2, operator2 (operator id from operator table). (num2 and operator2 may be left empty) second table. name: operator fields: id, operator I made a page to display the data from …

Member Avatar for LastMitch
0
166
Member Avatar for daniel36
Member Avatar for LastMitch
0
182
Member Avatar for daniel36
Member Avatar for LastMitch
-1
148
Member Avatar for mgn2683

I have a contact form that is using a Send Form php file to validate and then send an email with the form contents. The area I am having issues is debugging an error, I believe it is coming from the dropdown selection in my form. The page can be …

Member Avatar for mgn2683
0
289

The End.