39,326 Topics

Member Avatar for
Member Avatar for AmieCutie

So I have a client that is interested in something like this, well to be more specific... A login area of a website, it could be it's own application/page, doesn't necessarily have to be integrated into the website. A person can login or register. The admin can add content to …

Member Avatar for ddymacek
0
162
Member Avatar for mwenyenia07

hi, i want to use first column of html table to hold key values which when a cell is clicked, a certain event is triggered say fetch data from database using the selected key.the following code can select any code but i want to specify the first column of the …

Member Avatar for Buppy
0
200
Member Avatar for mr guru

after designing a member area in my page i was now locked with this problem. i want each member, have his own data(like his own profile,his own messages etc) presented to him any time he is logged in. pls i will be very grateful if some one can help me

Member Avatar for ivan3510
0
88
Member Avatar for divyakrishnan

Hi.. I want to show a progress bar when downloading a file. In my script I am clicking a hyperlink and waiting for a while to appear the download box. I want to display a progress bar before appearing the download box. I had seen many examples for displaying the …

0
123
Member Avatar for megachip04

I am trying to let users upload .flv files that will be played through flow player. While I am not getting an error, the file is not copying to the ftp folder. The upload script I have is [CODE] if ($_FILES["file1"]["type"] == "video/flv") { $path1 = "uploads/".time().'.'.$HTTP_POST_FILES['file1']['name']; $path1 = str_replace …

Member Avatar for cereal
0
148
Member Avatar for ecdmonkey

Background: I have a Drupal site with around 150 users. Each of those users has a spreadsheet that they send to me weekly. I've uploaded all of the spreadsheets to an Editgrid account and I've created a custom drupal block to display there Live spreadsheet and edit it so removing …

Member Avatar for ecdmonkey
0
270
Member Avatar for masterjiraya

the problem here is When I check 1 checkbox there's no mysql error but if the checked checkboxes are more than 1 then an error occurs. it only takes the first but the following checkboxes occurs an error. the code can be downloaded here. the file of the problem is …

Member Avatar for masterjiraya
0
168
Member Avatar for masterjiraya

File name:index.php [CODE=PHP] <html> <head> <script type="text/javascript"> function showUser(str, query) { if(document.getElementById("Author").checked==true) { query="author"; }else if(document.getElementById("bookname").checked==true) { query="bookname"; }else{ document.getElementById("textHint")="please select"; } if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } …

Member Avatar for karthik_ppts
0
6K
Member Avatar for reygcalantaol

Hello guyz, I'm glad I finally back here. I need help using the preg_match function. I am scraping url and I need to get the specific value from the html tags. Here is the string [I]<p><b>1,664</b> Referring IP addresses</p>[/I], I need to get [I][B]1,664[/B][/I] How can I achieve it using …

Member Avatar for reygcalantaol
0
121
Member Avatar for kamotekid08
Member Avatar for nitinslash
-1
187
Member Avatar for decade

Im sure most of the php developers here knows how to use mysql or mysqli now my question is Which is better? Mysql or Mysqli? And why? please answer me guys.

Member Avatar for decade
0
97
Member Avatar for rakwel10

How? Im developing a site. It has an email app that sends email. Im trying to know how to do it the other way. This time, gmail or ymail will send and my site will receive. How? I'll wait for your replies.. Thanks for the help..

Member Avatar for chrishea
0
119
Member Avatar for glycerine

I hope the title made sense. ok ive got a table in a PostgreSQL database that has a few coloumns in it. What im tryting to do is the following: [CODE]<?php $totaltimetodayresult = pg_query($link, "SELECT SUM(acctsessiontime) AS totaltime FROM radacct WHERE acctstarttime LIKE '%".$today."%'"); while($totaltimetodayarray = pgfetch_array($totaltimemonthresult)){ $totaltimetoday = $totaltimetodayarray['acctsessiontime']; …

Member Avatar for glycerine
0
691
Member Avatar for rakwel10

pls help me fix the error. What and where is the problem? Thanks for the help! Here is the error message >> [B] 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 ' )' …

Member Avatar for ddymacek
0
101
Member Avatar for weeon

Im view total form total = harga * unit; View Sample Images : [URL="http://www.daniweb.com/forums/attachment.php?attachmentid=22008&stc=1&d=1313603319"]http://www.daniweb.com/forums/attachment.php?attachmentid=22008&stc=1&d=1313603319[/URL] [CODE]<table border="1"> <tr> <td bgcolor="#6699FF">jenis</td> <td bgcolor="#6699FF">harga</td> <td bgcolor="#6699FF">unit</td> <td bgcolor="#6699FF">total</td> </tr> <tr> <td><?php include"koneksi.php"; $result = mysql_query("select * from tpintu"); $jsArray = "var prdName = new Array();\n"; echo '<select name="prdId" onchange="document.getElementById('hargaBarang').value = prdName[this.value]">'; while ($row …

Member Avatar for ddymacek
0
102
Member Avatar for programmer12

Hi, I am trying to let my users upload videos on my website by using a Form, but when I try to upload a video it times out. How can I write a php script to make this work? -OR- Do I need to change the PHP.ini file to make …

Member Avatar for programmer12
0
87
Member Avatar for Farhad.idrees

kindly tell me is this statement is right? i want to use isset statemnt with or condition... if( isset($_GET['P_Price']) || isset($_GET['P_Category'])) ........... Regards.. Farhad

Member Avatar for ddymacek
0
109
Member Avatar for bobbywe

hello I am looking for a code where i can put a photo in mysql data basic so when the dj name comes up on the home page there photo comes on to if this can be done?

Member Avatar for dealerit
0
112
Member Avatar for mittul

hello .. m trying to get/fetch the database value into dropdown box as a selected value in the dropdown box using PHP script and mysql - phpmyadmin database .. but m having problems in it .. here is my script which i m using .. try.php <body> <?php $conn = …

Member Avatar for ddymacek
0
910
Member Avatar for theazs

please some one help me,i have created this code for searching from database but the problem is i am getting an output without even searching,i am no php expert,so please guys help me. [ICODE]<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>" onSubmit="return validateThis(this)"> <!-- Sending Search Keyword to "search_handler.php" --> <p> <label …

Member Avatar for ddymacek
0
123
Member Avatar for jorjah

i have receive a link last 4 days ago,and i want to see it again then when i go to the list of messge, the links disappear,,i just want to know it why

Member Avatar for Ezzaral
0
109
Member Avatar for mwenyenia07

in java or vb.net, we have controls like datagrid or listview which makes loading and displaying of large data easy.in this case, there are events like cellDoubleclick which you can use to select data from a particular column and use it as key to select particular data from database for …

Member Avatar for blocblue
0
71
Member Avatar for MasterGberry

Having some problems figuring out how to do this... Basically I have the following right now: [code] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^Age-Of-Empires-Online/([^/]*)$ /index.php?portal=AOEO&$1 [/code] I need to make the old URLs re-direct to the new URL format...but I still want the new URL to ACT like the …

Member Avatar for sDJh
0
104
Member Avatar for mary_forum
Member Avatar for jorjah

gudpm! i just want to if how to put a template in php,,i already have my template and when i used it, I inserted it outside..i named it index,when i play it,,local host "restricted access"

Member Avatar for chrishea
0
108
Member Avatar for klemme

Hi, After uploading a pdf from a form, i am trying to read the file. It is saved in DB, and i try to get the chosen PDF via a link that holds a unique value from the DB, so the chosen PDF can be identified, and displayed. BUT, I …

0
97
Member Avatar for BenzZz

Hi, I am receiving the following error when i run my code on localhost: [CODE] Error creating database: Can't create database 'library_db'; database exists Warning: mysql_query() [function.mysql-query]: Access denied for user ''@'localhost' (using password: NO) in C:\Program Files\EasyPHP-5.3.6.0\www\databaseEx.php on line 45 Warning: mysql_query() [function.mysql-query]: A link to the server could …

Member Avatar for BenzZz
0
110
Member Avatar for ravi951

hi all, i have written a code in php for inserting and deleting multiple records using check boxes."test" is the database name. "emp" is the table name which contains the following records in my database. empno empname desig 1111 raju pilot 1112 ram chef 1113 ramu doctor 1114 paul engineer …

Member Avatar for rpv_sen
0
142
Member Avatar for divyakrishnan

Hi.. I want to run an exe file without saving from the server by clicking a hyper link. My code works fine with internet explorer .But with fire fox it showing save button . I used the following code [CODE] <!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"> …

0
74
Member Avatar for samsons17

Hi, i am working on this project that using wordpress cms platform.. I am really frustrated right now to find way to remove the default avatar of wordpress site that being set up to user during registration process. As u know, when we are registering to a site which working …

Member Avatar for samsons17
0
70

The End.