39,323 Topics
| |
Hello everyone. I am interested in building a Content Management System of my own, from scratch. I program in PHP and MySQL pretty well, but mostly just for E-commerce and dynamic content. I have been using blogger and wordpress as blogging programs, and notice in the admin area that you … | |
I get the following error in my code: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in.....line 20 This same thing occurs in lines 28, 54, 55, 108, and 109 I get another error in line 51: Warning: Cannot modify header information - headers already sent by … | |
| i forgot how to split urls :) [code=php] $url = "http://www.myhost.com/1,1,1,10.html"; [/code] i m trying to get 1,1,1,10.html n assign each value before commas to variables any ideas?? |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
| 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 … |
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 … | |
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? | |
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?! | |
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. | |
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 … | |
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 … | |
| 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" /> … |
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() … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … |
The End.