39,320 Topics
| |
I am using the following script for listing the files in a particular directory as a hyperlink list. The files names which i have mentioned must not be displayed (like index.php), How do i change the code for this? <?php $directory = ''; foreach (glob($directory . "*.php") as $file) { … | |
i already searched about displaying the data fields, my problem is how to retain the checked item and then set its value as 1. please help. i tried some code but didn't work: <html> <form action='' method='post'> <?php $database = 'sample'; $table = 'checklist_stud_columns'; $mysql = mysql_connect('localhost', 'root', '') or … | |
Hi, I am new in php i want to cahnge this url with mod rewrite localhost/web/index.php?a=profile&u=user to localhost/web/user i try with this rewrite but it does not work.. RewriteEngine on RewriteRule ^([^/]*)$ /web/index.php?a=profile&u=$1 [L] Plz help me to rewrite this url... | |
i want to fetch data from date and time with limit for latest data in database ..how to fetch..? | |
I am struggling with this, I have a database (mysql where i am trying to delete a single row. The idea is a list of items populated from the database. I am trying to add an additional column where there is a graphic and it reloads the page and runs … | |
hello, How I can Display Featured product and Special product in Home page in my site. Thanks in Advance, Nits | |
Hello Guys. I am fetching some results from database and show into a page. This is a CodeIgniter Project. Here si the code for that: This is the view: <div class="product_view"> <form action="" method="POST" name="form" id="form"> <?php foreach ($get_product->result() as $key => $result) : ?> <h4>Product Name: <?php echo $result->product_name; … | |
hi ! Friends can anyone tell me how to compare date which stored in database with current date and how display latest date in php plse help me ????????? | |
hi, i need some help here . this year i should make a system that called teacher attendance system . in this project i want to added pie chart into my system and i use dreamweaver mx and mysql. i have been try to make pie chart from data in … | |
<? $connection = mysql_pconnect("***","***","***"); mysql_select_db("***"); $id = mysql_real_escape_string(strip_tags(stripslashes($_GET['id']))); $getUser = mysql_query("SELECT * FROM user WHERE id='".$id."'"); $gU = mysql_fetch_object($getUser); $Background = $gU->Background; if (empty($Background)) { $Background = ""; } $Hat = $gU->Hat; if (empty($Hat)) { $Hat = ""; } class StackImage { private $image; private $width; private $height; public function … | |
login.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="main.css" /> <link rel="stylesheet" type="text/css"href="menu.css" /> <title>iWebTechnik</title> <link rel="shortcut icon" href="image/favicon.ico" type="x-icon" /> <link rel="icon" href="image/favicon.ico" type="x-icon" /> <style type="text/css"> <!-- .style1 {font-family: Arial, Helvetica, sans-serif} --> … | |
Hi all. who know how create page like this gameminer ? | |
Hello, I am trying to create a page for gallery (picture) input: input_gallery.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $post_image = isset($_POST['post_image']) ? $_POST['post_image'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; … | |
I am trying to populate a select box from my database. The value chosen must be the id of the item, and the text shown the name of the item so that once selected it will insert the id into the table column and not the name so that the … | |
I have created an account an account on insightly web to get contacts from my web to the CRM throught which I created an HTML form to do so. But on a page i also want to get information to show on the page which is entered by the user … | |
Hi all I am making a website. I want to use linkshare on my website so that all the publishers registered with linkshare are listed on my website. Any suggestions? [Link Share](http://www.linkshare.com/) | |
Hello, In my contact us I just add project combo box, yet I do not feel the programming for information form capturing is correct (after I add the project combo box), if anyone can help me would be great. Thanks before. contactus.php <div id="contactform"> <?php require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email … | |
What is the best Way to start working on projects if u already familiar with php and mysql? | |
Hi i am new in this site and want to know PHP properly.I also visited w3schools.com for this but it is not enouh for me .So if any one can help me to learn PHP. | |
Hi I am selecting wdays1 checkbox is checked and remaining checkbox is unchecked after submitting, i am getting an error message as below can any one please help me to resolve the issue **Error** `1 Notice: Undefined index: wdays2 in C:\xampp\htdocs\smart\checkvalue.php on line 10 0 Notice: Undefined index: wdays3 in … | |
| |
Didnt know where to post this question mysql or here, since im working with php i decided to put it here.. Im starting to learn mysql now :) SO i just wanna retrive a full name from a user how would i do this? im imaging this should be done … | |
i have created a webcam , now i want that on starbroadcast click the video that is being broadcasted streams and gets live,,,, please suggest me some code snippet for this | |
I have this to make a file ... but the file created is only ever .php, it is like it is not echoing the field name. $newfile ="" . str_replace(' ','-',trim($file['title'])) . ".php"; and the next one i tried to echo out in the page came out blank too? <?php … | |
Hello, Can anyone help me cek this filepath : $bannerAdsPath = 'localhost/phpads/install.php'; require 'localhost/phpads/install.php'; Is it correct how I wrote it? This error appears: Warning: require(localhost/phpads/install.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\phpads\admin.php on line 6 Fatal error: require() [function.require]: Failed opening required 'localhost/phpads/install.php' (include_path='.;C:\xampp\php\PEAR') … | |
Havning issues with file upload in php, below is the code <html> <head> <title>margeducation</title> </head> <body> <p> Niggas Please upload your files in pdf or jpg format, size less than 500kbytes, capishe</p> <form enctype="multipart/form-data" action="processfile.php" method="post" > <p>REQUIRED DOCUMENTS:(Please Select all documents that were recieved for this student's application):<br/></p> <input … | |
I have tried importing csv file in database but the problem is it inserts a blank record in the 1st row of database and also the date is not gettin stored in yyyy-mm-dd format also the time is not diplayed in database the datatyse is set one heto date time … | |
Win7; 64bit; Apache/2.2.25 (Win32); PHP/5.3.28; mysql-workbench; PHPmyadmin; Drupal; Not using drupal in this case. Only HTML and PHP. Going from HTDOCS in Apache. Index.html in the HTDOCS directory does show the "IT WORKS" test. Can also do the PHPinfo.php from HTDOCs Directory. The app I am trying to run is … | |
Hi am trying to have Dependency check box in one of my php form but am not able can you tell me how to do it | |
hi guys..currently i'm doing final year project entitle point of sale system.the point of sale system includes both online purchase & manually using barcode scanner that detect input (barcode).it also includes inventory system just simply like supermarket such as giant.i'm beginner in php & mysql.actually my major is electronic but … |
The End.