39,316 Topics

Member Avatar for
Member Avatar for sharathg.satya

can anyone say how can we link a css file to a php file.. I tried this [CODE]<link rel="stylesheet" href="site.css">[/CODE] here site.css is my css file and i am including this in home.php file in the head section. but i am not able to get the effects in the webpage. …

Member Avatar for sharathg.satya
0
406
Member Avatar for krushed18

My problem is that I am trying to execute a function on button click event but it just shows not even for a sec it just flashes. html & Javascript : [CODE]<html> <head> <script type="text/javascript"> function createLabel(){ /*Get UserName*/ var unString = document.createElement("label"); unString.className = "userName"; var uName = document.getElementById("username").innerHTML; …

Member Avatar for stbuchok
0
189
Member Avatar for jacob21

How I can add as so many as <input type="file"> same as in GMAIL (add Input Type File dynamically) and send all attachments into an email. Example: If select 10 files then it should be send into email.

Member Avatar for phoenix_2000
0
68
Member Avatar for mrhankey

hi, my application i have built which runs on php/mysql i now need a way to have it insert a value into a table every set date. so, on the isnert form just now they would enter the amount of money the company would receive and which date they were …

Member Avatar for HITMANOF44th
0
108
Member Avatar for harsha.netpem

Hi, I need some help, I am trying to insert multiple check boxes values(this values comes from 1st database) and I am giving the check boxes in the output(result fetch from 1st database). I want to insert all selected values into to the 2nd database from 1st database using PHP. …

Member Avatar for harsha.netpem
0
738
Member Avatar for lastgame2007

[CODE] Default Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2 Pa help sa update code ko po, na-uupdate niya kasi lahat ng nasa tables ko. ano po problem sa query? Here's my code for my update, the problem is when i submit, it updates all …

Member Avatar for simplypixie
0
105
Member Avatar for arunsolo1984

Earlier i was displayed the image by referring current directory. My current directory is '/opt/lampp/htdocs/cms/'. My images was placed in the folder called 'Images' inside the cms folder. So, i have displayed the images by referring "./images/filename.png". Now i have moved the images outside of cms folder. Now i kept …

Member Avatar for almostbob
0
188
Member Avatar for stanley87

Hi,guys,I need some advice on building image link counter and image display counter. 1.I need to know how to track each time the image display counter(should be something like this $counter .= $counter + 1), the image display counter only increase for unique visitor.Is that log the counter into text …

Member Avatar for simplypixie
0
165
Member Avatar for ben_dajao

[CODE]<td id="table-cell"><label> Travelers: </label></td> <td id="table-cell"><input type="button" onClick="" name="" value="Add Traveler" /></td> [/CODE] I need an ajax/js function that will generate an input form to be filled up when the Add Traveler button is clicked. (not open a new window but generate it on the [COLOR="Green"]same page[/COLOR]) So, I want …

0
114
Member Avatar for davy_yg

Hi, What's the difference between these two codes: gallery/index.php [CODE] <link rel="stylesheet" type="text/css" href="css/sliderkit-core.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos.css" media="screen, projection" /> <link rel="stylesheet" href="css/main.css" type="text/css" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie6.css" /> <![endif]--> <!--[if IE 7]> <![endif]--> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie7.css" /> <!--[if IE 8]> …

0
79
Member Avatar for rayrenz

I'm having a problem with a code to display the vowels used in a string for example: "I LOVE YOU" the code will display "The vowels used are: e i o u" Any help? I'm supposed to use loops such as foreach, for, do-while, etc. and arrays..

Member Avatar for skraps
0
313
Member Avatar for andarivaadu1

I have a code like this [CODE] <? php .. if ($type == 1) //book { echo $information_array[0]. '. <i><a href="updatebook.php?q=$information_array[1]">'. $information_array[1] . '</a></i>. '. $information_array[2] . ": " . $information_array[3]. ".<br/>"; } .. ?> [/CODE] In the next page [CODE] <?php $title= $_GET['q']; echo $title; ?> [/CODE] when I …

Member Avatar for andarivaadu1
0
233
Member Avatar for tgr0ss83

[B]I have an array that looks like this:[/B] [CODE] array 0 => array 0 => string '12/08/2011' (length=10) 1 => string '00:00' (length=5) 2 => string '34.83' (length=5) 3 => string '12/08/2011' (length=10) 4 => string '00:00' (length=5) 5 => string '34.83' (length=5) 1 => array 0 => string '12/08/2011' …

0
61
Member Avatar for blaaam

[B]Hello! I have made my web site tamplate, and know is the time to add to CMS. But i have problem in the internet have so many type CMS source, but all what i have tryed (somewhere about 20) i didn't like, becous some have features that i don't need …

Member Avatar for Stefano Mtangoo
0
168
Member Avatar for xega

Hi I'm hoping someone here can help me with a php/mysql question :-) I have a dropdown menu populated from a table "tblsyslur". The fields in "tblsyslur" are: sysla syslaskt syslaid = primary key I have taken the values from the field "sysla" and used that to populate a dopdown …

Member Avatar for xega
0
212
Member Avatar for aregowe

Is it possible to have, when user clicks 'Choose File', to narrow down their choices to .XLS files? My HTML file is: [CODE] <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form> </body> </html> [/CODE] My PHP file …

0
33
Member Avatar for beshoo

Dear all . :) i have 2 classes which generate a key look like this one : Lg+jExclU6WUbd2bKF1OZay1A4vzMHff8Di2TLoBnTwvtmdzZQrq4JErJCJzurKlbNrIBs05q4wf5uTirLVREQ== the 1st class : import java.math.BigInteger; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.spec.RSAPublicKeySpec; import javax.crypto.Cipher; import javax.crypto.NoSuchPaddingException; public final class c { public static String a(String paramString) { RSAPublicKeySpec localRSAPublicKeySpec = …

Member Avatar for stultuske
0
2K
Member Avatar for jonnyboy12

Hello all. I have an email that i am sending with html. In the html is some php. I want it so that when someone opens the email i receive a confirmation. I am using this code for it. [CODE] mail($sendto, $subject, $message, $header); [/CODE] It does not work. One …

Member Avatar for jonnyboy12
0
166
Member Avatar for RCrizt

how to count no. of hours and minutes in two set of time. having a start time to end time. ex: 1st time : 8:00 to 17:00 2nd time : 9:00 to 18:00 answer : 6hrs <- total number of time (-) number of hours (|) start/end |--------| = 8hrs …

Member Avatar for RCrizt
0
131
Member Avatar for jinu227

hi, i have implemented a calendar in php and added contols to display the previous and next months. How will I enhance my code to add links to display the previous and next year calendars? My code is as follows: [CODE] <?php session_start(); $_SESSION['username']; $_SESSION['unique_id']; $username = $_SESSION['username']; $unique_id = …

0
70
Member Avatar for puvi

Hi ppl... I have a piece of html code like this, to generate 10 radio button having values from 1 to 10. When the user selects a radio button, i want to print only that value. Any inputs on how i can achieve this is very much appreciated. [CODE] <!DOCTYPE …

Member Avatar for jmichae3
0
2K
Member Avatar for calebcook

I am trying to create a licensing system where you have a license key as a variable in a file. Then, it includes a file that's on an external server. The server then does all the validating, and returns whether the key is valid or not. The problem is, an …

Member Avatar for moneeshot
0
188
Member Avatar for manjushreekaran

hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input …

Member Avatar for cereal
0
206
Member Avatar for paddi_1

Dear all, I have php file which is returning result from server which are shown as group list, this result i want to pass to the dialog box as in drop-down selection, posting the code as below of group.php. I am getting php result correctly but need to integrate in …

Member Avatar for qazplm114477
0
169
Member Avatar for dshiells

Hi guys, Hope you can help (and hope I can explain my problem OK!) I am designing a sports site which takes three values from a user to input match details: a date (text input), a versus (text input), and if the match is home or away (radio buttons). Several …

Member Avatar for dshiells
0
9K
Member Avatar for McLaren

Hi, I cannot figure out why it does not call my overriden function. The original function is in wp-include/comment-template.php file. In my theme there is file functions.php so I put this code to override the original function: [CODE] add_filter('get_comment_reply_link', 'mano_get_comment_reply_link', 1, 3); function mano_get_comment_reply_link($args = array(), $comment = null, $post …

0
72
Member Avatar for kimmi_baby

Hi, I'm having some issues with checkboxes. When I submit the form and the email is sent, the check box area is empty. There is no information listed. When I tried to change the code, it would only show one of the options and not all that have been picked. …

Member Avatar for kimmi_baby
0
206
Member Avatar for brainfo

Am trying to create a mail funciton from php. It showing error like [CODE]Mail() [Function.mail]: Failed To Connect To Mailserver At "localhost" Port 25, Verify Your "smtp" And "smtp_Port" Setting In Php.ini Or Use Ini_Set()[/CODE] i cheked my php.ini file also in directory C:\wamp\bin\apache\Apache2.2.17\bin\php.ini. I found [CODE] SMTP = localhost …

Member Avatar for pritaeas
0
17K
Member Avatar for dd2308

Hello Everyone, I want to transfer data in export from my php reports. it works also. but the problem is when i open that .xls file in notepad i can view all my data. i don't want this.my data will be unsecure.can anybody tell me solution?? code is as below: …

Member Avatar for pritaeas
0
162
Member Avatar for tahirkhanafridi

Dear respected senior php web developer i m new to php webdeveloping and hoping for a good coder one day inshaALLAH SIR i have problem with my image hosting script [url]http://pashtoaudio.com/tahir/upload.php[/url] is for uploading images and [url]http://pashtoaudio.com/tahir/photos.php[/url] is for displaying all uploaded images how ever i want to show there …

Member Avatar for tahirkhanafridi
0
134

The End.