52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Waado

Please i need help on how to set php time to GMT +1 below is my code which reads +2 <?php // Displays in the format Saturday, November 22, 2003 11.38 echo date("l, F d, Y P:h:i:A:e" ,time()); ?>

Web Development php
Member Avatar for RCrizt
0
128
Member Avatar for ehpratah

Good Day everyone I have 3 forms index.html , parent.html and popup.html just wondering how can i close parent.html and redirect it to index.html when the popup.html submit button is click? i already tried searching on google but i cant get any clear solution on how to achieved it. i …

Web Development javascript
Member Avatar for ehpratah
0
84
Member Avatar for HunainHafeez

like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws …

Web Development asp.net dataset gui open-source
Member Avatar for JorgeM
0
766
Member Avatar for hlamster

I have an image I would like to have it's transparancy change from 0 to 100% over about 5 seconds on page load. Any suggestions would be most appreciated. I just can't seem to get the css code right. Do I need to use javascript? Doesn't html5 do this easily? …

Web Development html-css image
Member Avatar for JorgeM
0
281
Member Avatar for tibormarias

Dear Sirs, I would like to ask you, if you know any solution, for querying a servers mysql database without phpmyadmin rights, for example, querying it from the website itself with a server side solution. To be a bit more specific, here is what I would like to query on …

Web Development php sql
Member Avatar for tibormarias
0
268
Member Avatar for reddyvissu

haii every one i want to upload an video,what the code can u please tell me

Web Development php video
Member Avatar for diafol
0
60
Member Avatar for RonnelQdc

Hello Php Forums! I have a script that has point system. and if you have enough points you can get rewards example usb,tshirts etc.. i already done the function when the user redeem his/her points will be deducted based on how much points is needed to redeem that item. now …

Web Development mysql php
Member Avatar for diafol
0
211
Member Avatar for Benjamin_4

<?php $connect = mysql_connect("localhost","root","bank1991"); $select_it = mysql_select_db("shalom presbyterian church",$connect); ?> <html> <head> </head> <body> <?php $full_name = mysql_real_escape_string($_POST['fullname']); $Phone_number = mysql_real_escape_string($_POST['pnumber']); $Email_address = mysql_real_escape_string($_POST['emailAddress']); $Comment_Questions = mysql_real_escape_string($_POST['feedback']); $addquery = "INSERT INTO contact_feedback(full_name,Phone_number,Email_address,Comment_Questions) VALUES('{$full_name}','{$Phone_number}','{$Email_address}','{$Comment_Questions}"; if($addStaff = mysql_query($addquery,$connect)){ echo "Feedback have been successfully sent <br>"; echo "<a href = \"contact.html\">Back to admin …

Web Development php
Member Avatar for Benjamin_4
0
113
Member Avatar for Nadera

Hello, I am bignner in using JQuery with PHP, I have a form that culcalate the sum by using JQuery and displayed into HTML form, then I want to take this value from the form and inserted to the database by using PHP. Could any body help me HTML code: …

Web Development display javascript-jquery php
Member Avatar for paulkd
0
299
Member Avatar for davy_yg

Hello, I am trying to create an administrator login page with CI, how to do so? I do not know what to write in view, model and controllers. Please help. Thanks in advance.

Web Development php
Member Avatar for davy_yg
0
321
Member Avatar for Eagle.Avik

hi, i am interested in php link redirect. lets say i have a website with a lot of links, and most of the time if i change one file name i have to update that on everypage, it's irritating, as for other website like microsoft, they use links like **go.microsoft.com/fwlink/id3242** …

Web Development http-protocol php seo
Member Avatar for Assembly Guy
0
518
Member Avatar for annyangel

**** # dao.php # <?php class DAO { private static $con; public function __construct($hostname, $username, $pass, $db) { try { self::$con = new PDO("mysql:host=$hostname; dbname=$db", $username, $pass); } catch (Exception $e) { echo 'Error Message'; } try { $x= self:: $con; } catch (Exception $e) { echo 'Error Message'; } …

Web Development php
Member Avatar for annyangel
0
204
Member Avatar for abhi10kumar

I need light-weight AJAX pop-up form submit, where I can submit details into an email, I searched, but I cant find.

Web Development php
Member Avatar for Bachu
0
80
Member Avatar for chayassongi

I want to check table exists from my defined array. It return result but when i delete any table from database it still say ok. I want exactly have to be match from my array value and database tables name. so how can i improve???? plz help. include 'connect.php'; function …

Web Development php
Member Avatar for diafol
0
156
Member Avatar for donedeal

I'm trying to find out which of the following WEB/MOBILE Developing Tool. 1. ASP.NET 2. PHP 3. JAVA Which one of them is the best in terms of robust web application, tight Security, mobile application, database application, etc. I will like to know which one with reasons.

Web Development asp.net java php
Member Avatar for irum niazi
0
341
Member Avatar for mutago

Hello everyone, this mysql_deprecated works very fine and retrieves information but when i tried moving it to PDO it displays nothing. can someone help me thank you working mysql_deprecated.php <?php require('config.php'); $user = $_SESSION['log']['username']; $sql = "SELECT * FROM users WHERE username='$user' OR friend='$user' AND status = 'accepted'"; $result = …

Web Development mysql php
Member Avatar for mutago
0
207
Member Avatar for guym

Hello all, First I would like to say thank you to anyone helping, it is very much apperciated. I'm trying to create a database of all of my movies(I know there are programs that do this but I would like to make my own) So far I have created a …

Web Development php
Member Avatar for broj1
0
498
Member Avatar for rcdeck

Good afternoon, I was wondering if anyone knows of a way to force a page that always wants to open in a new window to open in an iframe? I have several links on the same page with an iframe to the side, and i would like it for the …

Web Development javascript
Member Avatar for kishancg
0
6K
Member Avatar for Suvarna-25

Hi..... I have a java file to read excel file. I have stored all the elements of excel file in a variable. Now i want to show all values of excel file on jsp page in a table format. All elements are displaying on jsp page but in vertical line. …

Web Development java-jsp
Member Avatar for Suvarna-25
0
244
Member Avatar for patk570

Hello everyone, I am looking for a jquery code that will filter my table based on 4 different critera that I have set from the database. The 4 critera is: 1. Complete 2. Pending 3. Waiting for customer response 4. Waiting for parts The table is sortable using tablesorter jquery …

Web Development javascript
Member Avatar for patk570
0
2K
Member Avatar for Hazuan Nazri

Hello friend, i have some question here, how can i read text by line in text.txt and put it in the text box in asp.net?

Web Development asp.net
Member Avatar for Hazuan Nazri
0
3K
Member Avatar for patk570

Hello, I have one input field that is collecting some information like this: <label>Tax Rate</label><br><input type="text" class="input" name="taxrate" id="taxrate" onblur=" return getTaxrate()" value="<? echo $row['taxrate'] ?>"> what I am wanting to do is onblur convert from say 7.63 to .0763 for the tax rate. I am only using one input …

Member Avatar for patk570
0
216
Member Avatar for PixelatedKarma

Hey everyone, So I am having trouble getting my head wrapped around a php script I need to build. What I am trying to do is pull data from a MySQL database table (dynamic content) and match it to an html table with static content. I guess an example of …

Web Development mysql php
Member Avatar for PixelatedKarma
0
1K
Member Avatar for edogg23

Hello. I have a website that I'm selling clothing. I am a complete novice but I just want to pointed in the right direction of what technology to use. I want to create something where the user can see a 3D image of the garment and customize it. I want …

Web Development ecommerce
Member Avatar for edogg23
0
212
Member Avatar for devianleong

Hi,Today I face a very weird problem which is I've a button which generate pid from database: <a href="orderdetail.php?pid='.$OrderID.'"><button type="button">View Shipping Status!</button></a> Let say my OrderID is 53588130964806920 and it will look like orderdetail.php?pid=53588130964806920 isn't ? But after I click the button , the URL display well but when I …

Web Development encryption php
Member Avatar for diafol
0
184
Member Avatar for Tcll

currently this is what I have: (in the dynamicly created <img/>) <body onload = " document.getElementById('html').value= '...'+ 'onmouseover=&quot;this.src = &rsquo;image.png&rsquo;&quot;'+ '...'; document.body.innerHTML = document.getElementById('html').value "> but obviously &rsquo; is not right... can someone help plox :/ EDIT: getElementById('html') is a textarea (innerHTML only updates properly with this method)

Web Development image
Member Avatar for Tcll
0
231
Member Avatar for jithusdani

HI folks.... I want to create a form that includes a textBox and a button,when ever i will click the button i shuld want to create a new text box.and i want to take the value of the each text box when a second button click.If anybody knows the answer …

Web Development php
Member Avatar for NicheTechIns
0
642
Member Avatar for Mallika_P

Jquery resizable handles does not working correctly after rotating the div, i changed the handles after the rotation of div into correct position., but when resizing the div it resize opposite direction, for eg we move handle se means the position nw want be fixed but it moves away. Please …

Web Development javascript javascript-jquery
Member Avatar for Mallika_P
0
2K
Member Avatar for ruhestorer

Hi, I am using php to update data and i need to see which field query is already updated **while the *while loop* is still running** in case the process stops or in case i need to end/ stop process. Right now it shows the list of documents (doc_code) updated, …

Web Development php sql
Member Avatar for ruhestorer
0
192
Member Avatar for kelley82879

How can I change this so that my returned results will display as 2 tables instead of one? Its returning results from 2 different tables but its not displaying as 2 different tables As I want it to. Thanks for any help or tips you can provide <?php mysql_connect ("localhost", …

Web Development display php sql
Member Avatar for kelley82879
0
213
Member Avatar for designershiv

Hi All, Some of my webpages in ie showing scripts erros at the bottom left. How to deal with that Thanks in advance

Web Development javascript web-browser
Member Avatar for designershiv
0
218
Member Avatar for son jo

Attach above is my question & answer(not correct) can someone edit it for me :) MY QUESTION : develop an online application called ‘mylibrary’. The purpose my ‘my library’ application is to record all the books that you have purchased. Information that you have to record are International Serial Book …

Web Development mysql php
Member Avatar for Thomas84
0
442
Member Avatar for designershiv

Here my var = var path = 'http://www.google.com/test/'; how to remvoe the last forward slash or test/ Thanks in advance

Web Development javascript javascript-jquery
Member Avatar for designershiv
0
118
Member Avatar for tibormarias

Hello Everybody, I have a problem with including a .php file into a javascript code. This is a calendar, and I want the calendar to use my database data. So here is my code of the javascript: <script type='text/javascript'> $(document).ready(function() { var date = new Date(); var d = date.getDate(); …

Web Development javascript php
Member Avatar for ryantroop
0
206
Member Avatar for svmkotla

hi ,i am new to php i have problem with my code . problem is when ever a page is loded <?php if(isset($_POST['submit'])); { $conn=mysql_connect("localhost","root","vamshi"); if(!$conn) { die("couldn't Connected : " .mysql_error()); } mysql_select_db("ninepixel",$conn); $sql="insert into empattendence (name,daydate,choice) values('$_POST[name]',now(),'$_POST[choice]')"; if(mysql_query($sql,$conn)) { echo("Your Data Has been Submitted"); } else{ echo("Please Enter …

Web Development php
Member Avatar for anandatheerthan
0
232
Member Avatar for Ribamar23

hi i have a site runnig php pro bid solution. when a user uploads a img with more that 2000 or 2500 pixels more or less, it retrieves a error box saying just "undefined". how can i solve this?? cheers

Web Development javascript
Member Avatar for sanzhar.ismailov.7
0
182
Member Avatar for kelley82879

I would like to have my users type in a term and display results from two different tables. I tried using union but i'm getting errors can you help please? <?php mysql_connect ("localhost", "","") or die (mysql_error()); mysql_select_db (""); if(isset($_POST['submit']) && !empty($_POST['submit'])){ $result = ""; //USED LATER /*$term = $_POST['term']; …

Web Development display php sql
Member Avatar for kelley82879
0
276
Member Avatar for sruthisru

advnc thank u.. i need to access login details(date and time) of users while clicking on calendar type date. is it possible? date and time is inserted in database while each userlogin. please help me...:(

Web Development php
Member Avatar for diafol
0
253
Member Avatar for mutago

I want prevent symlink attack so i first disable symlink using disable_functions I need to know other ways of protecting symlink attack using .htaccess files thank You

Web Development php
Member Avatar for hag++
0
340
Member Avatar for ZER09

with a little research a come up with my script in creating a canvas that would look like this. ![54d736fd19df9f8ac8a05733938b3e59](/attachments/small/2/54d736fd19df9f8ac8a05733938b3e59.png "align-right") it has a multiple link one link per circle. function binTree(aData, source, baseLink){ var canvas = document.getElementById(source), c = canvas.getContext("2d"); c.translate(0.5,0.5); c.fillStyle = "#ffffff"; c.fillRect(0, 0, canvas.width, canvas.height); c.strokeStyle …

Web Development html-css javascript
Member Avatar for ZER09
0
214
Member Avatar for vishalonne

Hello Evey Body I just need to know how can I stop displaying my php pages name in url for example: > http://cbse.in/classxii/question_papers.php to http://cbse.in/classxii/ or http://cbse.in/classxii/question_papers/ > > http://cbse.in/classxii/computer_science/question_papers.php to http://cbse.in/classxii/computer_science/ or http://cbse.in/classxii/computer_science/question_papers/ > > http://cbse.in/classxii/computer_science/Chapter1/answers.php to http://cbse.in/classxii/computer_science/Chapter1/ or http://cbse.in/classxii/computer_science/Chapter1/answers/ I came to know this is possible by URL …

Web Development php
Member Avatar for diafol
0
810
Member Avatar for Kleon

I am using Windows 8 and visual studio, it used to work good never had a problem, yesterday started to give me this problem everytime i run a website it gives me this message, and i know did not change anything on configuration, Error 403.14 - Forbidden The Web server …

Web Development asp.net visual-studio web-server
Member Avatar for Kleon
0
290
Member Avatar for Master Mascus

I would like to know if its possible to extract data from a database and then displayed the data in a pdf file ?

Web Development pdf php
Member Avatar for Atli
0
311
Member Avatar for delta_frost

I have a PHP script that generates a PNG captcha(set by Content-Type header).It can be embedded in an HTML page by just using `img`. I want to convert that image to base64 format for displaying.How do I go about doing that ? Using the normal method for encoding as given …

Web Development php
Member Avatar for LastMitch
0
859
Member Avatar for chrisschristou

hello ever body thank to take to read my question. i develop my website in dreamweaver i'm not good in php but i try and i learn, i want calculate the total price of goods and i use html form i want 3 different shipping when customer shoose the total …

Web Development php
Member Avatar for diafol
0
150
Member Avatar for techxaidz

Hi to all! Can someone help me about this concept.. I attached here a jpeg file of what I want to become an output. For the output, i simply want to draw a table that looks like a bus seat layout. So far, here's what i've got: <table border="1" cellpadding="20"> …

Web Development php
Member Avatar for techxaidz
0
391
Member Avatar for mutago

uploading web file outside doc-root issues I uploaded my file oustside the root directory while leaving only index.php in the public_html here is my directory structure /home/user /myweb_application ----> my uploaded files /access_log /etc /mail /public_htm /public_ftp /tmp /www Here is how i configured it 1: inside /public_html I have …

Web Development file-system php
Member Avatar for hag++
0
291
Member Avatar for Indians

i want if user select one value in combo box that value should store in db and then display what they are selected. for example if user select CONFIRM option that value stored in db after that it display CONFIRM instead of that combo box form and button. Here i …

Web Development javascript php
Member Avatar for hag++
0
3K
Member Avatar for Monium

I would like to upload multiple images to my server using this code: <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <input id="picture_01" name="userfile['01']" tabindex="auto" type="file"> <input id="picture_02" name="userfile['02']" tabindex="auto" type="file"> <input id="picture_03" name="userfile['03']" tabindex="auto" type="file"> <input id="picture_04" name="userfile['04']" tabindex="auto" type="file"> <input id="picture_05" name="userfile['05']" tabindex="auto" type="file"> <input id="picture_06" name="userfile['06']" tabindex="auto" type="file"> <input …

Web Development file-system php
Member Avatar for urtrivedi
0
693
Member Avatar for Duki

Hey everyone, I have this problem. I need to access data that the user inputs via the <input /> statement during the controller method. Here's my code, maybe this will make it more clear: // client side @using (Html.BeginForm()) { if (competitorList.Count > 0 && eventList.Count > 0) { foreach …

Web Development asp.net html-css
Member Avatar for vsmash
0
215

The End.