39,323 Topics
| |
can anybody please tell me how to insert and retrieve an image stored in a database using php and mysql.the way i m doing now is by storing the file in a server and filename in the db.but the problem with that is while retrieving the image doesnt show up.db … | |
Hi all, This is going to seem a very basic sort of question so here goes.... i have a form with a couple of checkboxs and what i want to do is echo the selected checkbox. for example; if checkbox 1 is submitted then an image will be shown in … | |
I`m displaying a certain number of result from mysql database. My problem come when i need to display for example 4 result in first row,the other 4 in the second row and so on. the code below displays all the results but each in its own row [code] <?php include"config.php"; … | |
In my Database(mysql) i have 100 members registered,Now there is page i want to display only ten members, but after each page refresh i want other ten members to display at the very same place Meaning replacing the current shown members. Any one with the idea on how i can … | |
i want to connect mssql(microsoft sql server 2005) using php, when i connect the following error displayed. why this error mssql_connect() [function.mssql-connect]: Unable to connect to server: note:in my system mssql 2005 is not installed..i connect another db which is in another system connected through LAN. if i connect the … | |
Hello guys! Greetings to everyone! I have tried the following code but it doesn't display images, it only stores data. [B]Here's the code in displaying images:[/B] <?php if ($submit) { $link=mysql_connect("localhost","root","1234"); if(!$link) die("Could not connect to MySQL"); $db=mysql_select_db("test",$link); $data = addslashes(fread(fopen($form_data, "rb"), filesize($form_data))); $result=MYSQL_QUERY("INSERT INTO binary_data (description,bin_data,filename,filesize,filetype) ". "VALUES ('$form_description','$data','$form_data_name','$form_data_size','$form_data_type')"); … | |
Hello, It seems my IF ($email_settings == "0") isnt working properly. I am trying to get it so that IF a setting in a table field is set to 0 then it continues and executes the info between the {} which is to send an email. However, if the IF … | |
Hi, I got a question here. I know the code to refresh the page is [code] echo "<meta http-equiv=\"refresh\" content=\"0;URL=user_dlist.php\">"; [/code] But how should i go about changing this code: [code] echo "<a href='view_topic.php?id=".$id."'>View your answer</a>"; [/code] Please assist! And thanks a lot! bear | |
hai! im working on a php/mysql based mailmerge project ..........but i have certain querys 1.does php offer support to write in MSword? 2.how to place data from mysql in desired place at MSword template..... pls do give suggestions .... | |
i want to create functionality like mailmerage in the web. is that possible in php? if posible how i start? basically it works when get First name,Last name address in any where of the document it display there and when save, it also store in database. | |
A little help, required with this insert.php script, which is meant to add a new user to mysql user, unfortunately when this script is executed, and username and password inserted, it doesn't actually add the new MYSQL USER, instead i just get the error message . <?php if(isset($_POST['add'])) { include … | |
Hi, I have a problem here and i need some help. I like to know how to link php code to other pages. The following is the entire code : [code] <td bgcolor="#FFFFFF"><? echo $rows['topic'];?></td> [/code] This echo out the topic, but i want this topic to be a hyperlink … | |
hello, all: I design web pages and was wandering if there is a way so that one can show a design or a web-page on any browser, but the html code (or all respective image files, css, etc) can't be viewed or downlaoded from a browser?? I thought maybe thru … | |
Hello guys, I would like to have a little help about a funtion which gets all the informations from an mp3 like genre,title,artist etc. Attention, without the help of ID3 class. Thanks a lot... | |
Hey there, I've got a little question. I writing a homepage for a pizza delivery service and i have got a little problem which i am not able to solve. If i open the page from the computer i have written it on, everything works just fine but if you … | |
Is this possible? I want to use my CF8 box to somehow read a directory structure on a PHP box. The reason: We upload videos to a PHP server but we want to know what is there -- using our CF8 server. What do you think? Thanks, in advance for … | |
Hi, I am trying to develop a battery order form. Here is the problem. User has to enter the "Current Stock". There is a "Allowed Stock" for each row. What I want to accomplish is when a user puts in the "Current Stock", I want the "Request Stock" to appear … | |
i currently working on web based ftp system where this system will upload and retrieve file from ftp server in red hat linux 9.0. here is the php cording for the upload file:- 1.upload.html [code=php] <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data" name="form1" … | |
Hi, I am trying to develop a battery order form. Here is the problem. User has to enter the "Current Stock". There is a "Allowed Stock" for each row. What I want to accomplish is when a user puts in the "Current Stock", I want the "Request Stock" to appear … | |
new to this php.. i have a login page. <form name="form" id="form" action="aa.php" method="post"> ... <input name="txtusername" id="txtusername" type="text" width="70px" class="style23"/> <input name="txtpass" type="password" width="70px" class="style23"/> ...... button here... </form> after login i am getting login name of user form `URl ->[url]http://localhost/MIS/PS/add/add_ps2.php?[/url][B]name=champawat.[/B]` in second page i hva three `combobox(unit,achivements,crop)`. the … | |
Hi frnds.. in my project i used ttf font ...now i uploading project through FTP... but total project is working fine..but,the font is not working when uploading the project into ftp...whats the problem? that font also included in my FTP.. plz help me asap..i am struggling from last 10 days.... … | |
Hi guys, Once again here i am asking for your wise knowledge, i am having porblems with deleting a record. I can update the record but when i am trying to delete it i cant it it does nothing here is my code [code] <?php require_once('Connections/hello.php'); ?> <?php if (!isset($_SESSION)) … | |
in my project i am using multiple dropdown boxes in a single page.so can u help me how to get values from those dropdown listboxes.here me used nearly 400 dropdownlist boxes.so it is very difficult to use 400 variables to retrive value from dropdownlistboxes.so me used array technology.bt here me … | |
could someone can help on this code. upon click the search there is no output. hope someone can help me. [code=php] //search-exec.php <? { echo "<h2>Results</h2><p>"; //If they did not enter a search term we give them an error if ($find == "") { echo "<p>You forgot to enter a … | |
Hi, I need a PHP Shoutbox with Login feature so there will be no spamming. I have also MySQL database. I don't mind with of without MySQL facility. I just need a good ShoutBox. Thank You | |
Instead of using the browser back/forward buttons, I want to create my own on the web page. Anyone have an idea as to how this is accomplished? | |
i have the following: sudaneseonline.com/cgi-bin/posting/posting"sometext... I want to get the string up to the: `"` char, after the 'g' and before the 's'. Note- the string has no spaces. Thanks in advance. | |
[code] ... mysql_select_db(".... database name....", $con); $sql="UPDATE INTO Picks (Day, Month, Number, Competition, Sport, Country, ..... [/code] Working: [code] ... mysql_select_db(".... database name....", $con); $sql="INSERT INTO Picks (Day, Month, Number, Competition, Sport, Country, ..... [/code] ---------------- 2. I can't make work the output of the database data, anything I try … | |
I hate to bother you guys but I have a problem that has me stumped. When I test it on my local server it works fine, but then I uploaded the files to the web server and it doesn't work and I get the following errors: Warning: fwrite(): supplied argument … | |
i have to date options in my tab but when i click calendar button on tab it doesnt open the pop calendar but it redirects it to other page why it is not working wel same thing im using on normal page wid two dates but they r working well … |
The End.