39,320 Topics

Member Avatar for
Member Avatar for naturegirrrl

Hi all, I am new here, (as you might have guessed :) After I get the PHP/apache thingy working Or kill myself whichever comes first I will be needed to set up a db back end I would like to pose a question to you learned folks. I notice many …

Member Avatar for chmazur
0
106
Member Avatar for aquilai

Hi i'm trying to upload a picture to the server using a form and it all seems to be working fine the only problem is I can't seem to find the picture when its uploaded, the script runs fine and gives me no errors and then when I come to …

Member Avatar for aquilai
0
88
Member Avatar for naturegirrrl

Have never worked with either so just at this point trying to get the environment up and running. Yesterday I downloaded: 1. SQL Server 2005 Express Edition with Advanced Services SP2 2. Microsoft SQL Server 2005 Express Edition Toolkit 3.HTML-Kit build 292 did a PHP hello world and was not …

Member Avatar for naturegirrrl
0
198
Member Avatar for nathanpacker

Alright, this one has me stuck. I know it's possible, because I've seen an example in another thread, but mine is slightly different, and I can't figure it out. Ok, I have one script that pulls all the rows from a database, and displays the data using a while loop. …

Member Avatar for nathanpacker
0
148
Member Avatar for nathanpacker

Hey, not sure if this is possible with PHP, but I thought I'd ask anyway. Is it possible to update values on an html page based on values being typed into an input box? For example. My table has three columns. Column 1 has an integer in it. Column two …

Member Avatar for ryan_vietnow
0
108
Member Avatar for grmurali

I am new user I have a system which has Apache2.2.4, PHP 5.2.3 in windows xP proffessional service pack 2. My MSSQL server is in remote place . I have access to the server by using the windows authentication only. when I use script $host='mass.com '; $user='gs\amk123'; $pass='Almn!2345';( windows password …

Member Avatar for naturegirrrl
0
264
Member Avatar for fatihpiristine

hi guys... i have two static value and between 8 and 16 other dynamic variables...which returns from sql queries everything.. like page titles, subjects etc... everything based on number in tables, Statics: Language and Index Dynamic values: Categories from 1 to 6 SubCategories from 1 to 10 system works like …

Member Avatar for fatihpiristine
0
93
Member Avatar for ashketchum

Hi everyone. I am new to PHP and MySQL. I am trying to create an RSS feed that gets content from more than one database table. The database tables are "categories". And I want to retrieve the latest content from those categories for the RSS feed. I want to retrieve …

Member Avatar for chmazur
0
68
Member Avatar for ztwalsh

When people add comments to my site there is always a slash before apostrophies. Is there a line of code that will prevent this from happening?

Member Avatar for chmazur
0
92
Member Avatar for CaliVagabond

I've been configuring PHP with MySQL and ran into a few issues. I uncommented the line to include mysqli.dll and set extension_dir = "./ext". It still isn't working. Not sure if I'm missing anything. Got any clues?!

Member Avatar for CaliVagabond
0
76
Member Avatar for hbmarar

Hi, I got a web site with lots of french accents. I am not able to get the accents proper even after doing all the functions said in php.net. I tried even user documented ones... utf_decode also do not work:( How to solve this issue.Request pointers Thanks.

Member Avatar for fatihpiristine
0
262
Member Avatar for vssp

Hi Friends We have develoeped new community site, we have intagrated the mail option that site. when register the site we need to create the mail id mail server . we are using "Simple Control Pannel" how to create the mail id using php code "simple control pannel" Please acvice …

Member Avatar for fatihpiristine
0
55
Member Avatar for jay7981

i keep getting parse errors on the last line of this how ever i cannot seem to find the mistake .. any help ? Parse error: parse error, unexpected T_STRING in /home/content/mydir/index.php on line 103 (i added the line numbers jsut for the post not actually in code) [code=php] 96 …

Member Avatar for php_daemon
0
78
Member Avatar for fatihpiristine

if you are having problems with encoding pages/characters, try this. <?php $servername='localhost'; $dbusername='myusername'; $dbpassword='mypassword'; $dbname='mydatabase'; connecttodb($servername,$dbname,$dbusername,$dbpassword); function connecttodb($servername,$dbname,$dbuser,$dbpassword) { global $link; $link=mysql_connect ("$servername","$dbuser","$dbpassword"); if(!$link) { die("Could not connect to MySQL"); } mysql_select_db("$dbname",$link) or die ("could not open database"); } ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <meta http-equiv="expires" content="now" /> …

Member Avatar for fatihpiristine
0
208
Member Avatar for mortalex

Hey guys! Right heres the problem, I have made this script that basically displays all the data from a table from MySQL; pricelist. However it only displays the data when i have to manually write in all the database passwords and names and stuff, however when i use the require_once() …

Member Avatar for php_daemon
0
113
Member Avatar for cliffhaas

Hello everyone. I am trying to modify a script I have been working with but have no true knowledge of PHP. Currently the script creates an http post and upon successful sending it opens a new web page and posts a message that reads "Sending results: OK". I would like …

Member Avatar for cliffhaas
0
79
Member Avatar for jamez333

I am trying to use this script to enter data into my database from an html form. [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Item Entry - Opulentworx - Private</title> </head> <body> <form action="/php/itemENTRY.php" method="post" id="itemENTERdb"> <input type="text" id="itemNUM"/>Item #<br> <input type="text" id="quant"/>Quantity<br> <input type="text" id="date"/>Date<br> <input …

Member Avatar for fatihpiristine
0
114
Member Avatar for sam1

hi guyz, which of these two forums do you think is good to use? i am talking mostly about security and the confidentiality of the users. thank you

Member Avatar for Fel1x
0
83
Member Avatar for tefflox

I have written lots of php dealing with html strings, but it's my first time trying to get a very simple page to function. It has a textarea, and I guess that all I need to do is get the text into the database on the server. I really have …

Member Avatar for ryan_vietnow
0
130
Member Avatar for Duki

Hey guys, I'm looking at taking a PHP course in the spring. The prof and I get along well, and she said I could waive the college's prerequisites and sign up if I wanted to. The prerequisites (in the college catalog) are a couple of HTML courses. My question is …

Member Avatar for ryan_vietnow
0
254
Member Avatar for esgdirect

I have a simple Contact form script. I want to change it so it shows the email address of the person sending the form, not mine. I also hope I am pasting this code correctly. Sometimes I get a blank form, but all fields are required. I would like to …

Member Avatar for esgdirect
0
198
Member Avatar for nathanpacker

Hey, I'm using a while loop to display all the rows of a table in my database, and wondered if anyone knows how I can make it so the background color of each row alternates between two different colors. I'm using php to call the information, so I can stick …

Member Avatar for nathanpacker
0
83
Member Avatar for jamez333

I am using this html form page... [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Item Entry - Opulentworx - Private</title> </head> <body> <form action="/itemENTRY.php" method="post" id="itemENTERdb"> <input type="text" id="itemNUM"/>Item #<br> <input type="text" id="quant"/>Quantity<br> <input type="text" id="date"/>Date<br> <input type="text" id="cost"/>Cost<br> <input type="text" id="ground"/>UPS Ground<br> <input type="text" id="3day"/>3 Day …

Member Avatar for jamez333
0
94
Member Avatar for apwade

Is it possible to have two main pages i.e index page one for wap and the other html(php driven) or do i have to determine the type of user and rewrite my index page appropriately. My main site is unsuitable for mobile phones and would have to significantly different. Cheers …

Member Avatar for stymiee
0
75
Member Avatar for MORTGAGEman

Hi, I have a friend who is looking to start a website similar to [url]www.Ratemyprofessors.com[/url] and I was wondering if any ofyou could suggest a script that is similar. Thank you for your time.

Member Avatar for MORTGAGEman
0
91
Member Avatar for gustavobrust

Hello everyone! :) I'm doing a website that has lots of pages - created by the user (a wiki style) - and any page can have attachments. The file upload engine is working ok. I'm moving all the files uploaded to a specific directory. The problem is: As each page …

Member Avatar for fatihpiristine
0
63
Member Avatar for aquilai

Is the package libgr-progs available for OS X I can find it at the RPM find site, but when I download it real player tries to open it...which isn't quite what I expected, i've tried to use Fink to install it but it doesn't seem to be in the fink …

0
61
Member Avatar for sharmila12
Member Avatar for Ezzaral
0
36
Member Avatar for njagi

I have this code to update the DB by subitting values in the checked columns The problem is that it skips some entries and does not always subit the values entered SQL Query $thisid=$_POST['id']; $nvalue = $_POST['newvalue']; $chkd = $_POST['checked']; foreach ($chkd as $key => $value) { $sql="update invoice_subcategory set …

Member Avatar for JeniF
0
135
Member Avatar for drsmith

Having a strange problem with some PHP code. This code: [code] $filename = "/u2/text/TOPAShiftlog".$dateString."_AShift.rtf"; [/code] writes the file TOPAShiftlog2007-10-26_AShift.rtf to the /u2/text dir. I want it to write 2007-10-26_AShift.rtf to the /u2/text/TOPAShiftlog dir so I tried this: [code] $filename = "/u2/text/TOPAShiftlog/".$dateString."_AShift.rtf"; [/code] This code ends up removing my "submit" button …

Member Avatar for drsmith
0
257

The End.