39,323 Topics
| |
Hello, I have a problem with my php script. Everything works fine except when i will write the data to the database. I get a error Warning: **Wrong parameter count for mysql_query()** Here is my code: <?php include('../sec/inc_mysql_connect.php'); include 'googledistance.class.php'; $sql = "SELECT VVBnummer, Adres, Postcode FROM tblscheidsrechters";// echo($sql); $result … | |
I am trying to create a calendar that allows me to add notes and allow people to view it and comment on the event for each day. I understand how to make the calendar out of php (i have already created it) but how do i get it so that … | |
please anyone help for my project i need source code to create a textcasting in my website job portal. . i need to send an notification using sms anyone help me please using php. . thanks ill wait for your response. . | |
Hello, I found a tutorial and im looking to create my own website like pandora in html5 or ajax for my country (or at least that's my plan). The tutorial explains almost everything except 3 things: how to make the songs to not repeat if they have already been played, … | |
Move this from JavaScript / DHTML / AJAX Good Day everyone i'm having a hardtime figuring out how to make this certain idea of mine to work basically im trying to capture the checkbox value and its label but im not getting anyluck..and also im having problem explaning what im … | |
Hi guys just need a tiny help , i have rows of data echoed out through a while loop from DBase. There are 2 variables named $closedb and $profitandloss. They are being defined in the while loop according to the presiding conditions in the loop . I used a function … | |
Hello, I am looking for a free cms for uploading file like 4shared. Is there any? | |
I am using a word press plugin "binarymlm" i this plugin any visitor of my side can get register to my site , i want any member who want to registerd o my site must have pay to me , then i issue a code which he will put into … | |
I'm a newbie to this. Hi, i've been trying to display all database records on an html table i still cant think anything out. I only know how to display a predefined number of rows but i need it to display all db records. I know it has to do … | |
Anyone can tell me how can I rewrite my url from www.example.com/user.php?id=1 and id=1 will get the name from mysql. Like example id=1 user name is "abcdef". Now the parameter(id=1) will get result from database and display "abcdef" to url(www.example.com/abcdef). | |
Hello, I wonder why I see blank screen on CI. controllers/page.php <?php class Page extends CI_Controller { public function index() { $this->load->view('index'); } } ?> views/index.php <html> <link href= "<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css" media="screen"> <script src="<?php echo base_url(); ?>assets/js/jquery.min.js" type="text/javascript"></script> <script src="<?php echo base_url(); ?>assets/js/chili-1.7.pack.js"></script> <script src="<?php echo … | |
Hello All: I need help constructing a mysql statement to post data from the following form to db <form id="updateHrs" name="updateHrs" method="post" action="process_updateHrs.php"> <table align=center class="ebc-table" cellpadding="0" cellspacing="0"> <thead> <tr> <th colspan="7"><?php echo $SBS_LANG['time_title']; ?></th> </tr> <tr> <th class="sub">Days</th> <th class="sub">Opens</th> <th class="sub">Closes</th> <th class="sub">Day Off</th> </tr> </thead> <tbody> <?php … | |
Hi, I have a really simple mailing script.It works, but it sends the message twice. How do I send the mail once. <?php $email = 'example@domain.com'; $subject = 'MESSAGE FROM DOMAIN!'; $message = 'The Message Was Successfully Sent!'; $headers = 'From: noreply@domain.com' . "\r\n" . 'Reply-To: reply@domain.com' . "\r\n" . … | |
Hello, How to create a contact us form like: [Your Message](http://www.indonusa.net.id/contact.html) When you place a cusor on your message, the cusor align to the left. When you type a text on it, the whole previous text like Subject etc disappeared. This is a similar contact form that I create: <div … | |
Delete install.php file for security reason please! How can I delete this and how to find it..I keep seeing this message when I go to a site I usually visit. only saw it first time today | |
Hello, I am doing some search in which my requirment is to search between specific dates. Like user can put start date and then end date. Once submit then it should find result between these two dates. [QUOTE]Select from table where date1>2001-01-05 And date2< 2001-02-05.[/QUOTE] Will this above statement will … | |
Hello, I wonder where to place include in Codeigniter. for example: views/vdepan.php <?php include('includes/navigation.php'); ?> where should I place navigation.php file ? | |
/* also, read the edit */ So... after painful MySQLi intro to working with MySQL Stored procedures... I have come to the conclusion that the only good way to pass variable length binds is to use eval() Is this a poor choice? The way I am using it is: $Conn … | |
Hello everyone, I have a website I am working on. On this site, I have a form that when you search for just one term, say "legs", it is supposed to pull up everything that is "legs", but not "legs" with "stability ball". My form uses the search term q[] … | |
hi friends i want to draw graphs by feching data from database through php code . plz help me | |
I need to randomly select 10 winners phone numbers from mysql database with php without repeatation one after the other | |
hi everyone..! i am working on a web site which is in two languages.. so i need a help i am inserting values in database and i need to retrive it and showing in another language which i use thanks in advance | |
I have a site hosted on NetworkSolutions using Joomla with mod_rewrite on. When I use that with php files, the pages load and stop, randomly, somewhere a part of the way into the file and fail to download completely. If I turn mod_rewrite off, and access the php page directly, … | |
Hi, how would you delete a folder on the click of a button including its contents, including the file that has the script to delete it. After it has been deleted it should redirect to the homepage of the site. And how you show that if a folder exists then … | |
Howdy. Perhaps I've being going about this all wrong, fair enough but essentially what I'm trying to do is place all my db connection info on another page `connect.php`. The idea is to then setup a function (below) which can then be called in *once* on my class files for … | |
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'futurejunction'@'182.50.130.103' (using password: YES) in /home/content/90/11628090/html/phpmysqlcon.php on line 6 Unable to connect database. is showing in my website. whats the wrong happened. | |
I have a screip to resize an image, save it to a dir and store the path in mysql. This works ok. The images are gotten from a suppliers website where the filename of each is the product code. The variable $remote_file in my code looks like this ../images/products/wsx339.jpg. How … | |
I'm currently trying to modify 2 scripts to work together. I've gotten everything working except the script isn't passing any, or the incorrect information when it's trying to create a checkbox. Here's the code I have so far: if (strlen($q)>0) { $hint=""; for($i=0; $i<($x->length); $i++) { $f=$x->item($i)->getElementsByTagName('id'); $g=$x->item($i)->getElementsByTagName('item'); $h=$x->item($i)->getElementsByTagName('price'); $y=$x->item($i)->getElementsByTagName('keyword'); … | |
I have a database that contains multiple comments. Each comment has their own ID. I want to select 5 comments from the database, store the last comments ID into a variable and then select 5 more comments at a later time. When I collect 5 more comments at a later … | |
Public Class Adminpage Dim result As MsgBoxResult Public Sub shw() End Sub Private Sub Adminpage_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load clr() End Sub Public Sub clr() patientno.Text = "" lasttxt.Text = "" Firsttxt.Text = "" Middletxt.Text = "" ComboBox1.Text = "" gencbad.Text = "Select..." MaskedTextBox1.Text = … |
The End.