39,320 Topics
| |
Hi just go through this code....... [code=php] <?php include('database.php'); $result = mysql_query("SELECT * FROM autoalto_mail"); while($row = mysql_fetch_array($result)) { ?> <tr><td width="10%"></td> <td ><img src="images/buldot.gif" alt="" height="6" width="6"> <?echo $row['from']?></td> <td ><a href="contractor_mail_action_contents.php"><?echo $row['subject']?></a></td> <td><?echo $row['date']?></td> </tr> <tr><td width="10%"></td> <td colspan="4" style="background-repeat: repeat-x;" background="images/dot.jpg" height="0" width="300"></td></tr> <? } mysql_close(); ?> … | |
Hello, I am new here, and hope to learn and contribute a lot. Recently, I started learning PHP (about 2 weeks), and now I am coming to the fopen() function. Say that I wanted to create a new file for reading and writing, is this what I would do? [code]$newfile … | |
What is this error........ Parse error: syntax error, unexpected $end in D:\xampp\htdocs\demo\contractor_mail_action_contents.php on line 324 | |
Hi, Red line below generates error "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource". I have checked sql string too. Thanks [code] <?php ob_start(); $dbhost = "localhost"; $dbuser = "root"; $dbpass= ""; $dbname = "test"; @mysql_connect($dbhost,$dbuser,$dbpass) or die ("No connection."); @mysql_select_db($dbname) or die ("No database!"); $page = … | |
I have created an inbox...... Which is subject,date,from,message........ how to view this......... | |
| |
hi all, i created a shoutbox where users will display messages. when they click on shoutbox a table will appear in which we have message and name when they submit messages it should appear beside that shoutbox [U]shoutbox[/U] hiii hyderabad:praveen :: hello praveen:pandu like this,i have inserted messages and names … | |
Hi, I am looking for an API for retrieving product details by given brand and model. For example: "Sony -> FWD-50PX3B" - then the service should return me the specification for this plasma screen like : Resolution xxx, weight xxx, diagonal xxx" and so on. Is the same information like … | |
Hi all whats wrong with this code,,,i am not getting error......it is showing succesfull ....but not storing data....... [code=php] <?php include('database.php'); $ser = $_POST['service']; $quotep = $_POST['quote_price']; $dscnts = $_POST['discounts']; $sertax = $_POST['service_tax']; $prmtion = $_POST['promotion']; $frd = $_POST['from']; $tod = $_POST['to']; echo $ser; echo $quotep; echo $dscnts; echo $sertax; … | |
Hello everyone, I have been trying to get this piece of code to work and havent been able to see why it isnt working! The code is a training school page for my virtual pet site in which members should be able to go and choose which pet they want … | |
hey guys apparently directory functions such as opendir, and scandir are not working on my host. following is the code, its from php.net. the output is keep on coming fail. is there something wrong with my php settings or something else. the page is, [url]http://worldofpakistan.net/try/write.php[/url] [code="php"] <?php $dir = "http://www.worldofpakistan.net/"; … | |
hi guys, i have a problem in my coding. i want to get the array keys + their values except for [] and replace them with "". i want to do this because i'm using a function to create a form. Since i'm developing a form generator.i need this help. … | |
I am building a ticketing system and am currently working on the profile page. I have created drop down menu's so admins can select assign users to a specific group. My page is written in php and when submitting my form everything gets updated except the drop down menu's. I … | |
Hi all, My database consists of tables named "purchases_0108" to "purchases_0708". For the 4 digits of the tables' name, the first 2 digits stands for the month and the last 2 digits stands for the year. The tables consist of fields : 1) "name" (Company name that I bought the … | |
Hi php gurus. newbie here needs help. I m having a problem with my login script. Basically it works 95% of the time, but once and a while it doesn't. The session variable doesn't get set, or remembered, and the next referred page fails on the isset check. I tried … | |
I'm new to php and am working on my first large scale project. I am making a custom ticketing system that requires users to login and let's technicians login to work tickets. I am trying to implement a account disabling feature so tech's that are no longer with the company … | |
Has anyone managed to get an easy install version of a progress bar for their uploads to work? Been through a couple of "easy to install" upload progress bars with no luck in getting any of them to work. Frustration is beginning to get the better of me and any … | |
Hi, I'm struggling to update my table with columns that are identified through variables. For example, I want to update Day3 using the hidden field "NewDay." Eventually, all of my days will be set using hidden field variable. Right now the trouble seems to be the statement [B][U]%s=%s[/U][/B]. Any suggests … | |
is there any free php script (database support) by which can make a little site of link protector like: [url]http://lix.in[/url] ??? it must be ads supported and people can be reg there and can put own ads(like adsence) and short there url and post it in diffrent site. so is … | |
Hello, I want to be able to echo a redirect url, based on a few variables. The content type of this php script is set as Header("content-type: application/x-javascript"); here is my code: [CODE] $row = mysql_fetch_row($result); echo "window.location = \"http://myurl.com/test/".$row[0]."/index.php?name=".$row[0]."\";"; [/CODE] Right now the url just outputs the url as … | |
Hi all,,,, i want help i have created an inbox........which is very simple.....like as soon u click which will just display the mails.......from.date,subject.........but after that i dont how to proceed........ i want if i cilck on subjet it should display the contents.......how to do all these just explain me.................pls give … | |
hi all i have wrote a code for file uploader and it was working fine but now its getting sme problems...here am attaching my code plz check it out and replay me fast... [code] if ($_FILES["description"]["error"] > 0) { echo "Return Code: " . $_FILES["description"]["error"] . "<br />"; } else … | |
hi all, i am writing a script for shoutbox where users click on shout box two fields will appear message and name when they submit, their message will appear beside shout box. my problem is how to display table which has message and name fields upon clicking shout box. any … | |
anyone help me to create client server chatting using php? | |
anyone help me to create client server chatting using php? | |
hi guys. i require some assistance of yours again. what i want is this: there is a form (say on page xyz.php) in which i have , say, 5 text-fields. but i also hav a button. upon clicking whihc, i want another text-field to appear. i do now want to … | |
hey guys. i hav this page (a.php), where i ask te user for his username and password. I match these with static values, and upon succesful matching, i redirect the user to b.php. my prob- what if somebody, instead of going thru the normal procedure (from a.php to b.php after … | |
Hello about 4 weeks ago i had to transfer my website to other hosting, i transfer my website and upload all the data base but when i click on the links 404 error show on the site any 1 can help me to fix this problem??????? i can pay for … | |
Wasnt sure where to post this but it uses php... help mods? i can get the number of messages and connect to a telnet server so i say top 1 and responds something along the lines of -ERR protocol error 16 or something... not sure if thats exactly what i … | |
Hello, All: I have a php enabled site, and as of late it's been doing the strangest thing, when I make any changes to any of the pages residing under the main html site folder, they seem to take forever to upload (be it pages or images); but if I … |
The End.