39,326 Topics

Member Avatar for
Member Avatar for gingank

Hi guy can anyone help me this code i get the error. It suppose will come out the java script alert first if the use did not fill up the phone number or the subject but it will send the mail also if the user did not fill up the …

Member Avatar for emarshah
-1
117
Member Avatar for jcanaway

alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located …

Member Avatar for sysel
0
6K
Member Avatar for ayesha789

Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; …

Member Avatar for emarshah
0
152
Member Avatar for ejazmusavi

Hi every one I am new to php and trying to connect PHP and MySQL my code is as below [code=php] <html> <body> <?php $My_con= mysql_connect('localhost'); echo $My_con ?> </body> </html> [/code] but this error occurd [B]Warning: mysql_connect() [[COLOR="Red"]function.mysql-connect[/COLOR]]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\EasyPHP …

Member Avatar for emarshah
0
57
Member Avatar for rrlogu

Hi All, I am new to PHP and MYSQL. I installed Apache2.2, MySQL Server 7.0 and PHP 5.2.10. I created database and table in MYSQL - its working fine. PHPINFO() - its working fine. When i tried to connect to my MYSQL using PHP with the following code, i am …

Member Avatar for rrlogu
0
101
Member Avatar for elamigosam

I am getting this message and I have checked my code and it seems to be all OK but I ther another reason that this message is showing up, that I maigt not know. PLESE HELP.... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in file.php on …

Member Avatar for elamigosam
0
135
Member Avatar for BigFormat

I'd like to redirect the user to another page, i.e. after a login check. I'm used to doing this via header location directive, it's all ok, but, if I'd like to print a message and redirect the user in 2/3 seconds, like on this forum when you login? Is it …

Member Avatar for BigFormat
0
5K
Member Avatar for ealbenze

Hi, i have working forms on my website that i would like to have an auto-respose email sent after someone submits an order, i was hoping there is a way i can edit the code instead of remaking all the forms, im using a LevelTen Formmail php script, can anyone …

0
47
Member Avatar for gagan22

HI all, I have make two form. one in which i will fill value then is will go in next page after submitting with $_Post['value'] . But i need this value in my javascript code in next page . So how i can fetch this value in my javascript code. …

Member Avatar for almostbob
0
146
Member Avatar for mgn2683

This issue I am running into occurred once we changed our site over to a dedicated server. We have had continual problems with our contact page, first with the captcha and now we have an error message saying: SQL error: Table 'paysonllc_db1.email' doesn't exist. Under Manage Sites I can connect …

Member Avatar for josuemunoz
0
188
Member Avatar for soyabeanmilk

hi all, i have a php generated image that i want users to download as png, but as it is generated on the fly, the default save as option is <php_name>.php so i just want to ask if there is any way to change this default file name to a …

Member Avatar for soyabeanmilk
0
660
Member Avatar for mauimaile1129

I'm currently developing a web page that accesses a CGI string to query an application and return results to a page: [url]http://empress-media.net/jimflynnrentals/gear_test.html[/url] The CGI string is: [url]http://servername/cgi-bin/nph-omniscgi?OmnisLibrary=tbsWeb&OmnisServer=5912&OmnisClass=rtPublicSearch&MethodName=search&SessionID=PUBLIC&bXML=1&bXMLData=0&SQLClassName=qCategoryLookup&SearchCriteriaString=STYPE_CATEGORY%2CNOT%20%25LIKE%25%2Cggg[/url] It currently works to return the list of categories. It uses Javascript methods to return the results to a DIV on the page …

Member Avatar for cwarn23
0
243
Member Avatar for gingank

I a newbie on php .I having a problem of sending the mail using this code.with this code sometimes i can send mail and some time not can any genius help me on checking this [CODE]<?php $to=stripslashes($_POST['to']); if($to == '1'){ $to='mail@.gmail.com'; @mail($to, $subject, $body, $headers); }else { $to='mail@gmail.com'; @mail($to, $subject, …

Member Avatar for almostbob
0
86
Member Avatar for brianzet

Hi Is it possible to insert nl2br to these two? [icode]<?php print $laes_artikel ["artikel"]; ?>[/icode] and [icode]<?php print substr($row["beskrivelse"], 0, 250); ?>[/icode] .. If so, can someone tell me how? Thanks for now.

Member Avatar for brianzet
0
220
Member Avatar for emarshah

Hi to All, Please tell me briefly that in PHP, what type of errors occured to the developer. Thanks in Advance

Member Avatar for ShawnCplus
0
98
Member Avatar for ayesha789

Hi, How I can show summary of thread like Daniweb. I have attached picture so please guide me. its really cool without opening the thread we can read whats inside . idf interesting we can go inside. Thanks Ayesha Developer

Member Avatar for peter_budo
0
255
Member Avatar for BigFormat

I need to obtain current date formatted this way in PHP: Sun, 26 May 2005 19:32:54 GMT Is there a specific function or I've got to create it myself?

Member Avatar for ShawnCplus
0
57
Member Avatar for digitaldiscuss

Hi I want to add some pictures in the header of my site can anybody help me how to do that in php Thanks in advance

Member Avatar for kvprajapati
0
58
Member Avatar for anarki2k3

Ok so I created an instance of the mysqli class: [code=php]$siteconn = new mysqli($dbhost, $dbuser, $dbpass, $dbname);[/code] But when I try to run a query using this I get the error that's in the title... code as follows: [code=php]$result = $siteconn->query("SELECT * FROM categories ORDER BY id LIMIT $limit");[/code] Any …

Member Avatar for anarki2k3
0
355
Member Avatar for anuj_sharma

Hey Guys, I want to make a web development project based on php and mySQL. I have roughly around 3-4 weeks to make it. Please suggest some ideas. Thanks.

Member Avatar for cwarn23
0
95
Member Avatar for mbabaali

am doing my class project but am stuck i want to oepn the administrator category in valid_user table is Administrator and if Normal user to open welcomepage here is the code it only open admnwelcom.html even when the catagory is Normal_user.here is the Php code [code=php]<?php // This code will …

0
72
Member Avatar for anuj_sharma

Hey Guys, I have login page in my web site. I have used SESSION to store the username and the user password. What i want is that after succesfully logging in he should not be able to go back to the previous page. What's happening rite nw is that when …

Member Avatar for somedude3488
0
60
Member Avatar for punitjain.87

hey i m using orangehrm -2.4.2(an open source ERP software for HR Management) i want to add [COLOR="Red"][B]payroll[/B][/COLOR] feature in the main tab(module) with admin, PIM, leave, time, benefits etc. & also how to made d provision of payroll for [COLOR="Green"][B]next 3-5 years[/B][/COLOR]. any help would b much appreciated.

0
69
Member Avatar for gingank

I have a php file that have picture it can display on my pc when i upoload to the apache server that bundle inside but when i try to log on at other pc it can only display the text not image why ?

-1
88
Member Avatar for davecoventry

On my Drupal site I have a block which I've set up with a couple of links at the top. I want to change the content of the block depending on which link is clicked. I'm pretty sure you can do this as I've seen sites with this functionality, but …

Member Avatar for cakka
0
75
Member Avatar for sagedavis

Hi all, I am not sure where to start with this one really. I have built the template for my site but, having a few issues in trying to impliment certain things that have to happen. This site needs to have 3 types of user. I am using a generalization …

Member Avatar for neekworld
0
435
Member Avatar for tulipputih

Hello everybody, how do I rank mysql search results by column weighting? thanks for your input.

Member Avatar for tulipputih
0
162
Member Avatar for Zurompeta

Hi there. I'm having a small issue with including various files into some of my main files. This issue started when I decided to organize my directory structure. My old structure: [code]/{root} [application] [css] [FF] [images] [install] [js] [validation] So in this structure, FF (Firefox) is where the main application …

Member Avatar for samarudge
0
72
Member Avatar for BrettOwnz

Hey guys.. I have been trying to debug this mysql statement for the past 2 hours.. here is the statement: [CODE] $sql1 = "SELECT * FROM cpmip WHERE adid='$a' and ip='$ip'"; $res1 = mysql_query($sql1) or die(mysql_error()); [/CODE] I just can't figure out why this won't work.. it throws the following …

Member Avatar for BrettOwnz
0
138
Member Avatar for liferentsus

Is there a way to delay a function so that it doesn't run for a day or two later? I'm somewhat familiar with sleep(), but I really don't think that's what I ought to use. What I need is a text file to be processed over the weekend/holidays when there …

Member Avatar for ShawnCplus
0
65

The End.