39,326 Topics

Member Avatar for
Member Avatar for leokuz

In MySQL I have created database "[B][COLOR="Red"]mydata[/COLOR][/B]" with the table "[B][COLOR="red"]contacts[/COLOR][/B]". The fields are as follow: [B][COLOR="green"]ID[/COLOR][/B] (Primary Key) (INT(10) [B][COLOR="green"]Name[/COLOR][/B] VARCHAR(45) [B][COLOR="green"]Title[/COLOR][/B] VARCHAR(45) [B][COLOR="green"]Address[/COLOR][/B] VARCHAR(45) [B][COLOR="Green"]Comments[/COLOR][/B] TEXT Based on info at [url]http://www.webmasterforums.com/php-development/1683-php-form-entering-data-mysql-database.html[/url] I have created following two files: [B][COLOR="green"][COLOR="Red"]new_record.php[/COLOR][/COLOR][/B] [CODE]<? $usr = "myusername"; $pwd = "mypassword"; $db = "mydata"; …

Member Avatar for Rahul47
0
289
Member Avatar for kanoy83

Hi guys, I have a simple php script to upload file. I'm having some problem in creating confirmation before overwriting the file from new file upload. Situation: 1. confirm() works if using file_exists BUT not overwrite the file or process the move_uploaded_file assuming some tags are correct uploadfile.php <form enctype="multipart/form-data" …

Member Avatar for kanoy83
0
1K
Member Avatar for ehpratah

Hey guys im here again with another question on how to solve this specific problem i have, Whic is also releated on my last thread which is http://www.daniweb.com/web-development/php/threads/461702/cant-combine-two-sql-statement .. so the question now is i have this table Name Payment_type Service_charge test 1 Cash 10 test 2 Cash 20 test …

Member Avatar for ehpratah
0
187
Member Avatar for ehpratah

Good Day everyone(even if its already 10pm here) i know its seems very easy to some of you guys but seems i cant get an hold onto it.. so i have this query that search data between 2 date range(which is working fine) and another query that add all data …

Member Avatar for Rahul47
0
224
Member Avatar for Burhan_1

I am trying to make a script which detects clicks on google ads. All events works like onmouseover, out etc except click, focus, mousedown. When i click on google ads it open its ads link but dont run my jquery script on click event. I have tried preventdefault and other …

Member Avatar for almostbob
0
841
Member Avatar for jenthevb

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 …

Member Avatar for Atli
0
511
Member Avatar for <M/>

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 …

Member Avatar for <M/>
0
208
Member Avatar for lobustalovelyrose

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. .

Member Avatar for diafol
-1
73
Member Avatar for AleXHB

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, …

Member Avatar for Troy III
0
403
Member Avatar for ehpratah

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 …

Member Avatar for ehpratah
0
361
Member Avatar for nigelhow

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 …

Member Avatar for diafol
0
226
Member Avatar for davy_yg

Hello, I am looking for a free cms for uploading file like 4shared. Is there any?

Member Avatar for pzuurveen
0
83
Member Avatar for best4earn

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 …

Member Avatar for AARTI SHRIVAS
-1
105
Member Avatar for shelexelex

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 …

Member Avatar for bradly.spicer
0
316
Member Avatar for devianleong

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).

Member Avatar for devianleong
0
670
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
469
Member Avatar for mbarandao

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 …

Member Avatar for iamthwee
0
278
Member Avatar for BadManSam

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" . …

Member Avatar for cereal
0
109
Member Avatar for davy_yg

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 …

Member Avatar for Zagga
0
180
Member Avatar for kidcameo

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

Member Avatar for almostbob
0
2K
Member Avatar for searchacar

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 …

Member Avatar for angiesavio
0
9K
Member Avatar for davy_yg

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 ?

Member Avatar for davy_yg
0
159
Member Avatar for ryantroop

/* 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 …

Member Avatar for ryantroop
0
205
Member Avatar for patk570

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[] …

Member Avatar for patk570
0
406
Member Avatar for amit.chaudhari.71

hi friends i want to draw graphs by feching data from database through php code . plz help me

Member Avatar for <M/>
0
196
Member Avatar for sparkles_links

I need to randomly select 10 winners phone numbers from mysql database with php without repeatation one after the other

Member Avatar for pritaeas
0
92
Member Avatar for Php_1

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

Member Avatar for broj1
0
156
Member Avatar for luis.andrei.cobo

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, …

Member Avatar for Dani
0
1K
Member Avatar for BadManSam

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 …

Member Avatar for paulkd
0
156
Member Avatar for LameApe

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 …

Member Avatar for paulkd
0
93

The End.