39,326 Topics
| |
Hi. I'm trying to write a script that fetchs image codes from a mysql database to display them into a 3 columns table. I got this so far: [php] $selection = $_GET['scelta']; $query = 'SELECT photo_code FROM'. $selection .';'; $result = mysql_query($query); $rows_nb = mysql_num_rows($query); print('<table width="75%" border="0" align="center">'); while … | |
Hi, I am wondering if i am able to insert 2 entries from a form to mysql. for example: [CODE]</tr> <tr> <td bgcolor="#eeeeff"> Is it a shared devices?<br> <font color='#F62817'>** If yes, please indicate the shared device num. </font> </td> <td bgcolor="#eeeeff"> <SELECT name="shared"> <option value="No"SELECTED>No</option> <option value="Yes">Yes</option> <INPUT type … | |
Hello! I have a counter to count personal page views for users, but when the counter in the table is updated (incremented by 1)it also updates the date. Anyone know if the counter column can be updated without updating the date? Also, I need to have an update date for … | |
I have a script that runs a static chatroom(User has to refresh the page manually). When a user submits a post, the user's data(Username, title, user level, etc..) is stored in the DB along with the post. The script for getting the post looks something like this: [code=php] $result = … | |
hi I would like to be able produce statistics on my web page by counting the numbers of rows in my sql database. for example. within my database i have 10 defects in my table called "defects". 9 defects are major, 1 defect is a minor. is there a way … | |
Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the … | |
I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) … | |
I have to create a basic php forum. I know there are free open source forums but i need to create it myself. I have a entered a number of fixed topic names into mysql and echo them (select *) into a website table. next to the printed names i … | |
Hi when let me get straight to the point ..... I've made a database, inserted data into it and selected it on a page but I can't find out why I can't view the text in the table?????????????? :@ I'M SO PISSED OFF!!!!!!!!! I've been trying it for hours here's … | |
I have a form named:"RegistrationForm.php". when i click the "submit button", there's a data inserted in the database (the prove is, there a new row in the database), but there's no value from user textfield(ic_no,name,email...) that have been inserted. It means like there's a row of data inserted but without … | |
Hey Guys and Gals, I have an array: Array ( [Small] => Array ( [0] => 4 [1] => 5 [2] => 3 ) [Butters] => Array ( [0] => 5 [1] => 2 [2] => 5 ) [black] => Array ( [0] => 3 [1] => 5 [2] => … | |
Good morning all, I am having a few issues. Firstly, I am no expert whatsoever so I may not have done anything conventionally. I have been able to create a form with many fields, click submit and data is inserted into a table in my database. I was then also … | |
Hey I hope someone can help me here because I am pretty stumped on this one... All I'm trying to do is to update my user_usr table with the submitted form data. It was working perfectly the other day so I must have changed something somewhere. The code and the … | |
Hi guys, i want to find something out that will help me out a great deal. I am including a menu from a separate .php file using [CODE]<?php include("menu.php"); ?>[/CODE] but something that i really need to find out before i can continue with this. When I'm at eg 'Home' … | |
I am new to php but have modified an entire code in two weeks. I have it all working, however the last change that i made is not being seen on the web page. I am dealing with php 5.1.6 and apache and since then whatever change i am making … | |
Hi guys, Could anyone help me out with this... I have a multi form, which the user enter in the data and submits the data.. It also have a save button in it.. so user can save and then come back,.. then can save again, or submit.. I saved the … | |
warning error came.. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\employees.php:1) in D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\captcha.class.php on line 21 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\employees.php:1) in D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\captcha.class.php on line 21 i have catcha.class.php include captcha.class.php … | |
Hello Everybody, i m facing problem that how i increment the values, first when i set the ID_No as auto increment in php/mysql after the debugging when i delete 2 no; row from the table next time the ID_No starts from the 3rd one row and basically i dont wana … | |
hi... i need to automate my system.... for which i need to run a c++ program from a php function.. how cani do this plz help...! | |
Hi, I am trying to get the directions between two points in google map.becoz i need to insert directions into database.i have a script wich get and display directions using div id .i am trying to send that id to another function in which i am assigning that id to … | |
How do i send a form data in html format in a php email.. ? Use of html tags in $message = ' '; Any sample example.. cos i tried many.. and coudnt able to work... ur help is much appreciated... thanks again tryphy.. | |
Hello There, I M having Problem with Getting Page Name With JavaScript in WordPress. I have Used This Code To Get Page Name In WordPress. [CODE]function GetCurrentPageName() { //method to get Current page name from url. //return page name in small . var sPath = window.location.pathname; var sPage = sPath.substring(sPath.lastIndexOf(‘/’) … | |
Hi all, this is my first post, so I would like to say hello to all members and will try to help when possible. What I am trying to do is to split a word document with N pages into N documents (one for each page) and give each of … | |
hi all, i am not getting inserted the dropdown value to the back end except that everything is inserting. so can u please help me. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid); $con=mysql_connect("10.70.1.50","invensis","invensis"); if(!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("database_myproject",$con); $sql="SELECT projectname from projects where createdby='$_SESSION[username]'"; mysql_error(); $result=mysql_query($sql); … | |
Good evening everyone. I have a php based site which was designed a few years ago. I have done very little with the site since I purchased it because I was not very familiar with PHP. Well I still am not very familiar with PHP, but I am more familiar … | |
Hello guys, I am trying to make a very simple booking system. The booking will be either for the current or the next year only. There are three fields; number of person, type of meal and date. In any particualr day and meal, the number of person can't exceed 100. … | |
Hi. I haven't been able to figure out how to allow names with apostrophes such as mine, O'Connor , to POST. Also someone tried to post a smiley face like :) and that also threw an error. I have tried adding this :: mysql_query("SET NAMES 'utf8'"); // UTF 8 support!! … | |
I saw it on this website I searched it on google, and I might not searching with the right keywords do u know how it is called or give me a website? | |
Although I've read about it it still doesn't sink in when you will need to pass in a variable. I think I know how i just don't know for what reason. If someone could provide that information for me i would appreciate it. Also, is PHP variable passing more efficient … | |
$_COOKIE['ID_my_site']; am I supposed to change ID_my_site? or $_COOKIE['Key_my_site']; |
The End.