39,320 Topics

Member Avatar for
Member Avatar for Pado

I'm getting the above error for the following code. Can anyone see what it is? Is my date formatting off? [code] $get_topics_sql = "SELECT topic_id, topic_title, DATE_FORMAT(topic_create_time, '%b %e %Y at %r') AS fmt_topic_create_time, topic_owner FROM forum_topics ORDER BY topic_create_time DESC"; echo $get_topics_sql; $get_topics_res = mysql_query($connection, $get_topics_sql) or die(mysql_error($connection)); [/code] …

Member Avatar for Pado
0
104
Member Avatar for gagan22

Hi everyone, I am facing such type of warning is coming in php file.How it can be resolved . I have also used session_start() function in php file as a first line in php code. I have used it just prior to sending output to browser.But still warning is coming. …

Member Avatar for nav33n
0
78
Member Avatar for marjan_m

Hi, I need to set a text feild value unchangable after a user enter first time. I dont want to use it's "readOnly" attribute as it let's the user to select the text. Thanks Regards,

Member Avatar for nav33n
0
173
Member Avatar for steve345

i'm trying to modify dirLIST script to show the folder icon instead of having some files in directory which enable the folder icon otherwise the folder icon will not appear.. [URL="http://dir-list.sourceforge.net/"][U]link[/U][/URL] could somebody help me? Steve

Member Avatar for pritaeas
0
40
Member Avatar for steve345

I found 2 new scripts, here they are: [url]http://hot.ee/antsman333/scripts/script1.zip[/url] and [url]http://hot.ee/antsman333/scripts/script2.zip[/url] The script1 is more stylish than the script2, but it displays the directory files with the same icon.. How could I combine these scripts together that the script1 shows the icon according to filetype like script2? how script1 looks …

Member Avatar for pritaeas
0
126
Member Avatar for manzoor1

hi i have problem , rhe code is working properly on local machine but when i upload it on net then it give the warning [COLOR="Red"][B]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home7/wyzerpmc/public_html/wyzer/survey/survey.php on line 22[/B][/COLOR] [code]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> …

Member Avatar for msikwal
0
116
Member Avatar for cherjude

OSCommerce: On the delivery options page in osCommerce, we would like to add an option called UPS. I guess we will need a UPS module added to the osCommerce cart. Please propose a solution for the above mentioned details at the earliest. Thanks in adavance Regards

0
49
Member Avatar for patharianidhi

Hi everyone I have a list box called tc_id I have populated this list box with values from teh database. Now i want to fetch values from the database into two text boxes based on the selection made in the listbox.

Member Avatar for patharianidhi
0
2K
Member Avatar for OmniX

Sorry been out of commision for a few months. Got a newbe question. What value is returned from an sql query that returns no rows? Example: [code=php] $a = "SELECT * FROM a WHERE b = c"; $b = my_sql_query($a); [/code] Note: Table Name - a Table Field - b …

Member Avatar for OmniX
0
2K
Member Avatar for Swapsry

hi frnds.. [CODE]var headline = document.getElementById("headline"); var content = document.getElementById("content"); var data = "headline=" + headline + "&content=" + content; xmlhttp.open("POST","newspost.php",true); xmlhttp.onreadystatechange = handleServerResponse; xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xmlhttp.send(data); [/CODE] i post data in this way... n the next page i need to retrieve data .. [CODE]$d=$_post['data']; echo $d;[/CODE] output is combination …

Member Avatar for cwarn23
0
82
Member Avatar for serdas

can i include this [code] <? require('inc_rate.php'); getComments("1"); submitComments("1","$PHP_SELF"); ?> [/code] in a php file but display at certain location at the html file. i tried it to paste the way it was but gave me an error so i did like this [code] require('inc_rate.php'); getComments("1"); submitComments("1","$PHP_SELF");[/code] it worked but …

Member Avatar for serdas
0
189
Member Avatar for nikhilkanna

Hi friends, I done my website menu with javascript.here problem is that its not working with IE7 but working properly with IE5. In IE5,when i place mouse on services it is displayed like below submenus will shown.it is fine home services products contact how it works private banks why it …

Member Avatar for cwarn23
0
95
Member Avatar for forwardlookguy

Hello, I got the following code from someone and have tailored it to fit my needs but I have a problem. The first menu populates from my MySQL database. However, when the first menu is selected, the second menu will not populate with the correct information. Zero is the only …

Member Avatar for upside_down2000
0
405
Member Avatar for veledrom

Hi, In PHP page, Code below always returns TRUE even no record is updated. How can i solve this problem? Thanks [code] $q="UPDATE login SET password=SHA1('$newPassword') WHERE id='$loginID' AND password=SHA1('$oldPassword')"; $run=mysql_query($q); if ($run===TRUE) { echo "SUCCESSFUL"; } else { echo "ERROR: Old password is wrong. Please try again."; } [/code]

Member Avatar for nav33n
0
134
Member Avatar for todo

Is there a way one could automate daily maintenance task on the website? The maintenance task could include a number of things: cleaning up database, updating the website and so on...

Member Avatar for chrishea
0
119
Member Avatar for manoj2161
Member Avatar for diafol
0
36
Member Avatar for nikhilkanna

Hi,i done a menu with mouseover using javascript.In IE5 it is coming as hai ramu in IE7 it is hai.downside ramu is coming

Member Avatar for nav33n
0
59
Member Avatar for theimben

Ive got a MySQL search, which searches an index of urls. The search parameter searches titles. What I want to do is have something like Google. So, if someone searches: [CODE]site:example.com something to search[/CODE] It would look for example.com in one column then from those results it would look for …

Member Avatar for theimben
0
1K
Member Avatar for danielagaba

hi my interface has spry tabbed panels each in its own form, my problem is whenever i submit data on any of the panels in a form, my page reloads with focus on the first panel(index 0). I've tried a number of javascript methods on the form onSubmit but it …

Member Avatar for somedude3488
0
249
Member Avatar for ditty
Member Avatar for buddylee17
0
62
Member Avatar for rohnni

[code=php]<?php define("ContactEmail", "highwebgeeta@gmail.com"); $error_msg = 'The following fields were left empty or contain invalid information:<ul>'; $error = false; $submit = $_POST['submit']; if (empty($submit)) $form_submitted = false; else $form_submitted = true; if ($form_submitted) { $title = $_POST['title']; $name = $_POST['name']; $lname = $_POST['lname']; $address = $_POST['address']; $pin = $_POST['pin']; $country = …

Member Avatar for cwarn23
0
231
Member Avatar for veledrom

Hi, Code below always returns only 1 record therefore i don't need while. How can i get result without while loop? Thanks [code] $q="SELECT id FROM login WHERE username='$username'"; $sql=mysql_query($q); if (@mysql_num_rows($sql)==1) { while ($arr=mysql_fetch_array($sql)) { $id=$arr["id"]; } } [/code]

Member Avatar for nav33n
0
71
Member Avatar for ahmksssv

Hi frnds.... I need payment gateways code... i have just basic idea about paypal...i dont know abt code for gateways..here my requirement is it should access all creditcards payments with secure..... i dont know the code is in php or any other way...plz give me some idea abt this...i need …

Member Avatar for ahmksssv
0
265
Member Avatar for Shanti C

Hello... Good Morning All... How to hide all query strings in my url and here i can't use hidden variables for these all because in all times i couldn't send them with form submission..And my page is having four query strings to be sent... If any body have any clues …

Member Avatar for Shanti C
0
5K
Member Avatar for jobi116

hi.. I have encrypted a file in C# using [URL="http://www.codeproject.com/KB/security/DotNetCrypto.aspx"]this[/URL] code .. i will upload the encrypted file to my server.. Now i want to write an Equivalent PHP encrip/decript to use the file.. Can i use mcrypt_cbc() to do the job or is there anything special i need to …

Member Avatar for cwarn23
0
56
Member Avatar for danielagaba

hi i'm designing an online evaluation application using php. i was asked to add a feature that enables a user if unable to finish anwering questions can save his/her progress and continue when he/her next logs in. basically i have no idea how to even start. thnx

Member Avatar for nav33n
0
397
Member Avatar for serdas

i need to include this file in some other php file if i add a plain text where i want it to display it works but when i include this file it just displays the form and the comments on top of the page rather then where i want it. …

Member Avatar for serdas
0
55
Member Avatar for emhmk1

Hi People, I've created a couple of install pages for a client (install.php and install2.php) My question / problem is... In install2.php i want to unlink install.php and install2.php via a hyperlink or button and i was wondering how best, if it is possible, to achieve this. Can anyone help …

Member Avatar for nav33n
0
109
Member Avatar for queenc

hi i have some file in my ftp.now i am saving my file in a folder.please tell me how to refer the file outside the folder. eg require_once('../common/dblayer.php'); the above is to refer a file inside a folder.how do the same for outside a folder

Member Avatar for almostbob
0
237
Member Avatar for rtipton

[QUOTE]I am haveing trouble with updating a row out of a table. If there is one row in the table the edit works ok. But if I have more then 1 row in the table it will only let me edit the last row can any body help on this. …

Member Avatar for shadiadiph
0
95

The End.