39,402 Topics

Member Avatar for
Member Avatar for lydia21

hi in this app i have three pages from the first page id is passed to the second page.in the third page i am not able to get the value.............. [ICODE] if (mysql_num_rows($result) > 0 ) { while($row = mysql_fetch_row($result)) { echo "<tr>"; echo "<td><a href='detailjob.php?id=".$row[3]."'>".$row[0]."</td><td>".$row[1]."</td>"; echo "</tr>"; echo "<tr><td …

Member Avatar for lydia21
0
101
Member Avatar for dami06

Hi, I have tried creating a webpage but when i click on one of my links it gives me this ?> DATABASE ERROR Connecting to server ::<NO SERVER> What does this mean because i have checked my database and everything seems to be fine..

Member Avatar for richie513
0
84
Member Avatar for gopi kannan

i downloaded e-novative wamp server from the net and installed it...i tried to run my script...but i cannot get the output..it just displays the code which i typed in the notepad...i stored my script coding in www folder in wamp...can anyone guide me ..

Member Avatar for carobee
0
98
Member Avatar for carobee

how do i increase the size of file upload?. i have changed the value of upload_max_size to 300M and post_max_size=600M in php.ini and restarted the apache server. running php.info script i still get 2M to be the upload_max_size.now when i run my uploading script and try to upload file a …

Member Avatar for carobee
0
602
Member Avatar for carobee

hi, i have written a php script for uploading files into linux server. but when i try to run that script i get "UPLOAD_ERR_NO_TMP_DIR ". i even tried to changing upload_tmp_dir directive in php.ini and giving it a path to one of my created folders but it seems nothing is …

Member Avatar for nav33n
0
8K
Member Avatar for Boat_2005

Until Microsoft released their security update to IE, I used an html form for the user to input his/her username/password which was passed to ‘username: [email]password@www.domain.com[/email]/restricted_directory’. The IE patch now restricts this. When AuthUserFile is in my .htaccess file and I try to access a restricted file, the browser brings …

Member Avatar for midget
0
3K
Member Avatar for 1username1

I bought this website script from someone, it is a website that has free graphics for a popular social networking website. Since I do not know PHP/MYSQL I do not know how to upload my own layouts, graphics, etc, to my website. So I want someone to help me create …

Member Avatar for lokeshsinghjado
0
81
Member Avatar for Morty222

Can someone please take a look at this and help me do one thing? I am uploading images to a directory and updating the users record with the photo they upload. Problem is, I could have someone upload a photo with the same name as a photo that is already …

Member Avatar for coffeepot!
0
151
Member Avatar for OmniX

Hi everyone This is sorta an open question. I have a message systems that allows any third party person to send messages to the administrators and is done via mysql. There is no real problem now but I was told what if someone wanted to abuse the system and bombard …

Member Avatar for OmniX
0
94
Member Avatar for johnr

Hi, I'm very new to PHP. Any help is appreciated. I wrote a script that should create a flat file and store information in the flat file that was entered in a form on an earlier page. The script runs successfully and with no errors, and creates the file with …

Member Avatar for johnsquibb
0
125
Member Avatar for Morfeus

hi i have been lookin in the net but i can t found anything help me. i want to sell Vodafone Code in my website like this page [url]http://networkcodes.co.uk/getcodes.php[/url] for exemple and i email user back with code after payment done via card credit or paypal its possible to do …

Member Avatar for johnsquibb
0
132
Member Avatar for keynan_toht17
Member Avatar for richie513
0
45
Member Avatar for isomillennium

Hey my name's izzy and i have been around the web designing game for a while and i was trying to figure out how we can get the explode function to support javascript in a web page when splitting .. here's the code : <? function snp($str_to_look_for, $str_to_stop_at, $html) { …

Member Avatar for nav33n
0
146
Member Avatar for lydia21

1. $q="Select SQL_CALC_FOUND_ROWS * from post_resume where ind_type='$industype' and career='$careerlevel' limit $cps, $rpp"; 2.$q="Select SQL_CALC_FOUND_ROWS * from post_resume limit $cps, $rpp"; hi i am doing paging in php.the first query is not working.the second one is not working........please do tell me the error. [CODE=php] <html> <head> <title>Record Set Paging with …

Member Avatar for lydia21
0
85
Member Avatar for dalefish

Ok, I've had enough of looking at the same piece of code now. Someone please enlighten me as to what simple bloody thing it is I'm missing: [code=php] $pp2 = $_REQUEST["pp"]; $io2 = $_REQUEST["io"]; $sn2 = $_REQUEST["sn"]; $re2 = $_REQUEST["re"]; $sd2 = $_REQUEST["sd"]; $ed2 = $_REQUEST["ed"]; $dp2 = $_REQUEST["dp"]; $rn2 …

Member Avatar for nav33n
0
460
Member Avatar for Morty222

I spit out 4 photos across the screen, then I want to start a new row of the next 4 photos, then so on until done. This works fine expcet the first row shows only 3, then it goes to 4 across. Can someone help? <?php $ln = $_POST['lastname']; $ps …

Member Avatar for nav33n
0
101
Member Avatar for werks

Hello PHP experts how can you detect [B]'[/B] character in your search field? Because every time I input the word [B]hilgard's[/B] it returns an error I think because of the character [B]'[/B]. This is the error [CODE=php] Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) …

Member Avatar for werks
0
92
Member Avatar for Rmontague

I am humbly requesting your opinions in an issue that is driving me crazy... I currently maintain a few "Financial" websites. This sites are simply used to display stock data from the day before. We get the prices in an Excel sheet. Is there a way to parse the spreadsheet's …

Member Avatar for ashneet
0
68
Member Avatar for VanPetrol

Hi, I will be making a small site (my first in php) that will be available in 3 languages (eng, jap, chinese). my idea is to have index.php page in the root, and then (also in the root) 3 folders (en, ja, zh) with a version for the site in …

Member Avatar for nlso
0
106
Member Avatar for Beks

Hi All, Please bare with me as I'm new to this forum and to web design. I was asked by my boss to design adn upload a new website via ftp, which I can do. I realised this morning that it is not as simple as just that! Basically, here's …

Member Avatar for Walkere
0
148
Member Avatar for seoserviceworld

hi, I am web master and i would like to make search page in which it will find information from my site and display. So Please tell me how to do that? Regards. [URL="http://www.seoserviceworld.com"]seoserviceworld[/URL]

Member Avatar for techniner
0
83
Member Avatar for timvdwest

Hi everyone, I was hoping somebody could help me unravel this - i'm very new in programming in php and i'm teaching myself so bear with me. scenario: I have a website with 4 distinct section (all in seperate tables): 1. A header - where my menu buttons are, 2. …

Member Avatar for nav33n
0
97
Member Avatar for jinchiruki

can sumebody tell me whats wrong whis this code?? tried many times but still parse error..on line 53 and if i put validation on php,do i need to put the command at server side??? tq [CODE="PHP"] <table width="1000" height="95" border="1"> <tr> <td bgcolor="#0000FF">&nbsp;</td> </tr> </table> <? include("connect.php"); //this is your …

Member Avatar for nav33n
0
107
Member Avatar for jino

Hi all,, My problem is that,,My query is not working correctly when the time of loading the page... But if we echo the query and try to run the same query in PHP MYAdmin then the query is running correctly... For example if i need all the records having sex …

Member Avatar for jino
0
102
Member Avatar for jino

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Testing fo Validation using Javascript</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript"> var loginForm; window.onload = init; function init() { loginForm = document.getElementById('login'); loginForm.onsubmit = function() { return canSubmit(this); } loginForm.username.focus(); } function filled(field) { if(field.value == " " || field.value …

Member Avatar for ryan_vietnow
0
72
Member Avatar for lydia21

hi i have a application were the user admin will select a key word from the drop down based on the dropdown selection....it should search all the rows in a particular table.the corresponding matching data should get displayed to the admin.

Member Avatar for lydia21
0
164
Member Avatar for balagod

Hi, I am trying to create a widget to display live stock quotes. then i have to deploy in iGoogle. Please explain me how can i proceed. 1.i need widget creation tutorial. 2.igoogle deployment tutorial. Server Language: PHP -Bala

Member Avatar for balagod
0
83
Member Avatar for Vai

I need a little help.... The form displays the data, but when I update any field it updates every field. Can someone please help me fix the issue? Thanks. [code] <?php require_once('core/db.php'); if(!$_GET['action']){ //if no action in url. eg : update.php?action=bleh //get the information for the form $query = "select …

Member Avatar for nav33n
0
73
Member Avatar for keynan_toht17
Member Avatar for ddwatkins

I have a set of 2 drop downs. Once a selection is made in the first one, the second one popluates based on the first choice...I also have a a dynamic table on my page that works fine but shows every record from what ever recordset it is based on....here …

Member Avatar for ddwatkins
0
301
Member Avatar for niladri.user

Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities?

Member Avatar for nav33n
0
313
Member Avatar for Morty222

I am using the following query to pull categories from the DB then creating a select list. Can some tell me how to make the current value selected in the list when they open the category? <?php include("mysql.php"); $queryc = "select * from tbl_category WHERE active = 'yes' ORDER by …

Member Avatar for nav33n
0
124
Member Avatar for werks

Hi there programmers could you help me out. I need idea on how to create an Online Reservation of Books for a Library.. thank you in advance..

Member Avatar for werks
0
84
Member Avatar for Web_Student

Hello. I am trying to get the difference in time between two fields in the database. One is start_time and the other one is stop_time. They are in "0000-00-00 00:00:00" format. I want to do this in php/mysql. I already got the times pulling from the database, just need the …

Member Avatar for Web_Student
0
95
Member Avatar for dami06

I'm trying to create a webpage where by I have the questions in the database instead of it being hard code which is writing it down in php. How do i go about that. Just a simple page which will have a question and a blank box where the answer …

Member Avatar for nav33n
0
650
Member Avatar for lordx78

[code=php] <?php //ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Cycle Tracks Portal - Validation Page</title> <style type="text/css" media="all">@import "images/style.css"; </style> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" /> <script language="javascript"> redirTime = "5000"; redirURL = "index.php"; function redirTimer() { self.setTimeout("self.location.href redirURL;",redirTime); } </script> </head> <body> <?php …

Member Avatar for nav33n
0
180
Member Avatar for drsmith

I am using FCKeditor for my Drupal website. For whatever reason, FCKeditor does not allow a file to be overwritten...it will rename it instead which is no good for static links. I have found some code I think is responsible for renaming and have commented it out. [code] while ( …

0
83
Member Avatar for amin007

hi, my name is amin this is output array $_POST [code] Array ( [status_batch] => Array ( [1001] => Verify [1002] => Verify [2001] => Verify [2002] => Belum Batch [2003] => Belum Batch [2004] => Belum Batch [2005] => Belum Batch [2006] => Belum Batch [2007] => Belum Batch …

Member Avatar for amin007
0
108
Member Avatar for Venom Rush

Hi everyone I have a csv file with data such as first name, surname, tel etc and I'd like to populate a table inside my MySQL database automatically. So far I have this but I keep getting an access denied error and I don't know why: [code=php]<?php $server = 'localhost'; …

Member Avatar for nav33n
0
585
Member Avatar for okonjiaustin

I have successfully uploaded images into mysql database, but now I want to display the images alongside other row data in html page. Thanks for your previous help. Austin.

Member Avatar for nav33n
0
142
Member Avatar for usc87bb

Hi, I am trying to output images in a table, and what I have is the filename for the picture in my database. My code works when I used a hard-coded test as the image name as I highlight below. So my question is how do I make it to …

Member Avatar for nav33n
0
63
Member Avatar for carobee

how to destroy cookies when the browser is closed? i have a php script where initially the user logs in and then the subsequent pages are displayed.i want that if the user closes the browser in between n tries to re-open the same page, he gets the error message that …

Member Avatar for scottholmes
0
2K
Member Avatar for gopi kannan

iam new user of php...iam going to do a mini project in php-mysql... can anyone guide me with installation procedures of php and mysql..can i download them from web...i have debian os and windows xp in my system..which one suits better??and how can i run my php scripts???

Member Avatar for gopi kannan
0
88
Member Avatar for niladri.user

<?php $con=mysql_connect("localhost","root",""); if(!$con) { die("could not connect:".mysql_error($con)); } mysql_select_db("form",$con); $result=mysql_query("select * from submit"); while($row=mysql_fetch_array($result)) { echo $row['name']." ".$row['roll']; echo "<br/>"; } mysql_close($con); ?>

Member Avatar for nav33n
0
46
Member Avatar for s1m0n3

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/xxxxxx/admin/index.php on line 34 This is a Login php page, each time an admin tries to login, it cannot proceed even the user/pass is correct and it give error as shown above. Please help. Thank you in Advance …

Member Avatar for pritaeas
0
91
Member Avatar for dami06

Hi, I'm trying to upload a some files to a webpage im trying to crete but its giving me an error once i click the upload button it gives me this type of error [B]Uploading information to the system from a file Student data is being uploaded. DATABASE ERRORExecuting SQL …

Member Avatar for dami06
0
102
Member Avatar for niladri.user

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php echo"Your posted name is\t".$_POST['name']; echo"Your posted roll is\t".$_POST['roll']; ?> <?php $con=mysql_connect("localhost","root",""); if(!$con) { die("could not connect:".mysql_error($con)); } mysql_select_db("form",$con); [COLOR="Red"]mysql_query("insert into submit values('$_POST['name']','$_POST['roll']')");[/COLOR] echo"1 record added"; mysql_close($con); ?> </body> </html> error is …

Member Avatar for niladri.user
0
147
Member Avatar for ZenMartian

Ok, Folks.... Just trying to clean up some free php code I recently garnered :-) It came complete with a COMMENTS box, yet I really don't need it. Can anyone show me what needs to be deleted in order for the PHP form to continue working properly? I tried deleting …

Member Avatar for johnsquibb
0
195
Member Avatar for happyhappy

Hi, I'm trying to connect to a MS Access database on a server in PHP without having to use ODBC does anyone have any idea or know how. Please help? Thank you.

Member Avatar for happyhappy
0
113
Member Avatar for Yproc

Hello, Both Monster.com and HotJobs.com allow a user to upload an MS Word doc (resume) that their site converts to HTML automatically. The user doesn't have to do any conversion work themselves. I've found several scripts that will convert an MS Word file to [I]plain text[/I], but wasn't able to …

Member Avatar for Yproc
0
68

The End.