39,323 Topics

Member Avatar for
Member Avatar for geekyspaz

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.

Member Avatar for geekyspaz
0
80
Member Avatar for lydia21

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; …

Member Avatar for lydia21
0
97
Member Avatar for judedcoutho
Member Avatar for nav33n
0
63
Member Avatar for kings

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"] …

Member Avatar for nav33n
0
266
Member Avatar for bhakti.thakkar

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 …

0
69
Member Avatar for Taffd

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.

Member Avatar for digital-ether
0
141
Member Avatar for pdb

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. …

Member Avatar for buddylee17
0
67
Member Avatar for Taffd

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 …

Member Avatar for Taffd
0
190
Member Avatar for karlion

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 …

Member Avatar for einfoway
0
104
Member Avatar for raeyshe

[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, …

Member Avatar for shinichi001
0
166
Member Avatar for lydia21

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.

Member Avatar for lydia21
0
142
Member Avatar for Designer_101

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

Member Avatar for Designer_101
0
78
Member Avatar for Xavier1234

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 …

Member Avatar for Pro2000
0
103
Member Avatar for kaz0161

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: …

Member Avatar for ryan_vietnow
0
99
Member Avatar for dks1383

Hi all I'm a PHP programmer. Are there any websites that I can work for them online (at home).

Member Avatar for ithelp
0
53
Member Avatar for mike4

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 …

Member Avatar for mike4
0
58
Member Avatar for lydia21

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 …

Member Avatar for lydia21
0
130
Member Avatar for Designer_101

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 …

Member Avatar for somedude3488
0
120
Member Avatar for microtribe

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 …

Member Avatar for somedude3488
0
164
Member Avatar for michael123

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?

Member Avatar for Designer_101
0
110
Member Avatar for artak
Member Avatar for einfoway
0
20
Member Avatar for Taffd

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 …

Member Avatar for jbennet
0
80
Member Avatar for sallywt

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 …

Member Avatar for sallywt
0
53
Member Avatar for lydia21

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"; …

Member Avatar for lydia21
0
98
Member Avatar for toadzky

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 …

Member Avatar for Fungus1487
0
73
Member Avatar for bumassjp

<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. …

Member Avatar for somedude3488
0
134
Member Avatar for lydia21

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.....

Member Avatar for black_ip82
0
119
Member Avatar for mishrarajesh44

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 …

Member Avatar for ryan_vietnow
0
88
Member Avatar for Acid Burn

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 …

Member Avatar for Fungus1487
0
101
Member Avatar for nic1213

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

Member Avatar for buddylee17
0
82

The End.