39,323 Topics
| |
Hi, I'm fairly new at php and I'm trying to understand how to upload a maximum of 5 images. The images would be uploaded to a common directory. My plan is to save the pathname to a database for later retrieval. Please help. Thanks. | |
hi i want to check the uname from the database and the session variable... please tell how to write if condition <? $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); echo "<table width='60%'>"; $result=mysql_query("SELECT jobid,jobtitle,cname,uname FROM please"); print "<tr><td>jobtitle </td> <td>cname</td></tr>"; if ($result[3] == $_SESSION[uname]) { for ($i = 0; … | |
how can i retrieve .doc file from a blob type stored in mysql database | |
hi when edit link is clicked the form with the filled in fields will get displayed .the user the can edit the content in the fields and then when he clicks update the table will get updaed here is my code... here id is auto generating field in mysql [B][COLOR="Green"] … | |
hi all, i have a table whose structure is as below: Name Null? Type ----------------------------------------- -------- ---------------- NEWSLETTER_ID NOT NULL NUMBER SUBJECT_VC VARCHAR2(255) MAILTYPE_VC VARCHAR2(50) CONTENT_TXT CLOB SCHEDULE_DT VARCHAR2(50) SYSTEM_HOOK_VC VARCHAR2(50) NSTATUS_SI NUMBER TEMPLATE_ID NUMBER i want to insert data in this table. below is my php script i m … | |
Is it possible to include the character < in a regular expression? I don't seem to be able to find a reference to it anywhere and am unable to build a regex with just this one character. | |
Hello, I've read all about how to expire a session, but this doesn't seem to be what I need. (unless I misunderstood it) The way I understand sessions, it's all about expiring the _cache_. Here's what I want: I want to allow my site visitors to search without logging in. … | |
Hello everbody, Despite some serious googling, viewing previous posts here and consulting the php manual, I am still unable to validate my user input. If I can get one simple form to validate, I will be able to adapt the script accordingly to any other, so any help you can … | |
Hello guys! im planning to make a web development website.. well as of now im starting to create the design the page... I just like to ask some tips.. in terms in search engine optimization... is it advisable to my site to make dynamic of my contents? i mean i … | |
[B]Warning[/B]: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]36[/B] [code]<? // select all unapproved members $result = mysql_query ("SELECT * FROM $table WHERE apr!='y'"); [COLOR=darkred][B]if ($row = mysql_fetch_array($result)) { [/B][/COLOR] do { // display all unapproved members ?>[/code] Line 36 is in bold, … | |
hi how to get my database values to my textbox.... i want to update my database content.in order to do that i want to display the existing content in a textbox so that the user can change the content and click update to update the content in the db. | |
Hi I was wandering is it safe to keep data in a .txt file if it is outside the public_html folder on my site? thanks | |
So, I need a little help, I purchased a source code for a mafia game, so I could test things out, because I wanted to own my own game and such. I learned pretty much basic PHP, and I know alot of MySQL. I don't know how to do what … | |
Hi! Please please someone check these site definitions for me:- Local Info:- (The usual name of site etc) HTTP Address: [url]http://www.mydomainname.co.uk[/url] Remote info:- Access: FTP FTP host: ftp.mydomainname.co.uk Host directory: (blank) login: (my login) Password: (my password) Testing server:- Server Model: PHP MySQL Access: FTP FTP host: ftp.mydomainname.co.uk Host directory: … | |
Hi all I'm a PHP programmer. Are there any websites that I can work for them online (at home). | |
Hey, Ad like to know the capabilites of users browser in code so that i give her the codes for her browser I would like to do this without using the deprecated globals like $http_user_agent and $http_accept Actually I would like to have two php scripts for my site one … | |
hi All jobtitle will be displayed in a table with hyperlink.when the jobtitle is clicked.it should fetch description,email etc from the database and display it. please tell me how to link the pages based on the tobtitle or id....when the hyperlink is clicked it is not displaying the data from … | |
Hi im having some trouble with the code bellow. I would like for each time the form containing the name and message to be echoed out but in a table. So naturally i have made a for loop that checks the amount in the array and echo out seperate portions … | |
Hi, I have a Javascript total calculation function within a php form that uses onBlur to show the client a running total of the dollar amount of items added: [url]http://www.microtribe.com/dev4Tony/order881x2.php[/url] And I have a linked external PHP file/script to email the results of the form to me. All works fine … | |
how can I replace who string with certain beginning and ending, for example I have string: abc........xyz I want to replace this string with "this is a test", no matter what text in between, only "abc" and "xyz" are fixed. abc123xyz-->this is a test abcd1234xyz-->this is a test any idea? | |
I wnat some PHP C PaneL Free Hosting & PHP Skin For Weblog | |
I'm beginning to believe that nobody actually knows how to validate simple forms and insert that validation code into a dreamweaver page. I there anybody out there who believes they can accomplish this. If so, are you prepared to help me accomplish this, at which time we could post here … | |
hi - it's my first day attempting php and my second page.. the first one went ok so I copied it for the second and amended accordingly however I'm getting a parse error and can't find the problem - can anyone help?! Parse error: parse error, unexpected T_STRING in /data/quint/html/q_wine_site/qw_join.php … | |
hi in this coding i want to specify the table width and border..i tried with css and html both are not working..please tell me how to display the table <html> <head></head> <link rel="stylesheet" type="text/css" href="test.css" /> <body> <?php $hostname = "localhost"; $username = "splendor_lydia"; $password = "jesus"; $dbid = "splendor_samp"; … | |
I'd just like to start this thread by saying that I have absolutely NO knowledge of PHP what so ever. I do mostly C++, C#, and Java. But my dad is having a problem so I am posting this as a favor. My dad has his business run pretty much … | |
<html> <head> <title>Post a load with ITS</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body class="sub"> <form name="FormName" method="post" action=""> <table width="100%" border="0" cellpadding="4" cellspacing="2"> <tr bgcolor="#009933" style="vertical-align: top"> <td colspan="2" class="HeaderColor"> Posting Loads</td> </tr> <tr bgcolor="#00FF33" style="vertical-align: top"> <td colspan="2" class="StoryContentColor"> Please enter all the information needed to post a load. … | |
hi i am new to php.i want the login page userid to get displayed in the next page as"welcome userid".....please do tell me the syntax for passing the userid to next page..... | |
hii.. i am getting error msg when running this program. pls verify if anybody can.. code: <?php session_start(); //session_register("username"); //session_encode(); //$url="Location:loggedin.php?PHPSESSID=".$PHPSESSID; // header($url); if(isset($_POST['submit'])) { if(empty($password)){echo "No password specified";} $connection=mysql_connect("localhost","wwwuser_raja","kalika"); if(!$connection) {echo"<b>connection not set...</b><br>";} $sel=mysql_select_db("wwwuser_raja"); if(!$sel) {echo"<b>database not selected...</b><br>";} $query="select password from users where username='".$username."'"; $result=mysql_query($query); if($row=mysql_fetch_array($result)) { if(!(md5($password)==$row["password"])) {echo … | |
Hello... I'm a nOob. Sorry if this is in the wrong forum or if it's been asked... I did search but couldn't find anything. I have a job between hands I don't know if I can handle to be honest. I have to redesign this website: [url]www.tiendaxtienda.com[/url] (in spanish). As … | |
im kinda a novice and in php i am trying to connect to mysql the i installed the wamp server that has the apacheserver,phpmyadmin and mysql now to connect to the mysql is a problem for me i cant. can someone help me |
The End.