39,388 Topics

Member Avatar for
Member Avatar for vishalonne

Hello I am writing an PHP module for admission process. It have an admission form. Tentatively ddmission process start from mid of March and ends in mid of May (not fixed). My question is what is the best way to activate and deactivate the calendar control of this admission form …

Member Avatar for JorgeM
0
177
Member Avatar for vinsbg

Hello, So I try to learn php and decided to make one site where I add images, save them in folder and id, name,type, path in mysql. Then show on page. So far I have upload form and I can upload and save images. Also I showing them successfully on …

Member Avatar for vinsbg
0
212
Member Avatar for patk570

Hi guys, I am trying to get the last_insert_id() from the table above, that way when it sends the query and is successful, it then updates the events table with timestamp, id , asset type and asset id from the insert code. I am currently using the max(id) but its …

Member Avatar for patk570
1
2K
Member Avatar for mbarandao

I am generating a multidimensional array which outputs in the following format: Array ( [0] => Array ( [cName] => "Club Name (Exp. Date)" [location] => "" [days_times] => '0' [zip] => 0 [state] => 0 [contact_person] => "" [contact_phone] => '0' ) ) Array ( [0] => Array ( …

Member Avatar for mbarandao
0
327
Member Avatar for Monica_1

Hello ... i've been working for months now with Apache MySql Database ... It had been working GREAT Until TODAY!... Its Driving me crazy and I REALLY REALLY Need Help!!! Everytime i try to launch my DATABASE to work on my tables it takes more than 15 minutes and when …

Member Avatar for gabrielcastillo
0
185
Member Avatar for miyotz

I have here my Javascript code that adds dynamic textbox (row) my problem is how can I save the values from the dynamic textbox to database using PHP script? Hope you can help me guys.. Thanks! <script type="text/JavaScript"> function addRow(r){ var root = r.parentNode;//the root var allRows = root.getElementsByTagName('tr');//the rows' …

Member Avatar for diafol
0
1K
Member Avatar for developer707

Hello to everyone, I have a mysql table CREATE TABLE `tools_domuments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `filename` varchar(255) CHARACTER SET utf8 NOT NULL, `description` longtext CHARACTER SET utf8 NOT NULL, `filetype` varchar(255) CHARACTER SET utf8 NOT NULL, `document` longtext CHARACTER SET utf8 NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB …

Member Avatar for developer707
0
217
Member Avatar for wkwasniak

Hi. I just wonder, is it possible, to validateform , which has been "echoed" in PHP using JavaScript function? See code below <?php if(isset($_SESSION['email'])){ echo"You are looged in as ".$_SESSION['email']. "</br> "; echo' <form action="confirmlogout.php" id"logoutform" method="post"> <input type="submit"id="sub" name="sub" onclick="" value = "LOG OUT" /> </form></br>'; } else{ echo …

Member Avatar for wkwasniak
0
332
Member Avatar for chaitu11
Member Avatar for Mr.M

Hi Dw I'm creating a registration page and log in page. I'm just planing on saving the data that the client will supply on the registration page and the log in page retrieve data which consist of password and username from the database to verify if the user is registered …

0
62
Member Avatar for chaitu11
Member Avatar for archie.herbias

i have created a codeigniter application and when i tried to access it locally, it says "No direct script access allowed". i don't know what's the problem .i'm using ubuntu . i need some help with this :)

Member Avatar for gabrielcastillo
0
129
Member Avatar for softmohaideen

I have using php for form datas. I want get the data from html by using id value instead of name attribute.

Member Avatar for diafol
0
62
Member Avatar for hriti

` <form action="v1.php" method="post" enctype="multipart/form-data"> <!--<input type="hidden" name="MAX_FILE_SIZE" value="500000" /> --> <input type="file" id="file" name="file" /> <input type="submit" id="submit" name="submit" value="Upload File" /> </form> <?php if(isset($_POST['submit'])) { $ffmpeg = "D:\\xampp\\ffmpeg"; //path of ffmpeg.exe file $videoFile = $_FILES['file']['tmp_name']; $imageFile = "D:\\xampp\\ffmpeg\1.jpg"; //output file name $size = "100x50"; $getFromSecond = 5; $cmd …

Member Avatar for hriti
0
151
Member Avatar for neha05

How i ll display one image into differnt frames in php or wordpress ,when user click on particular image

Member Avatar for neha05
0
162
Member Avatar for lily123

pls ii need to display my result from the database into a table form using phph code. can soemone help out please

Member Avatar for wkwasniak
0
221
Member Avatar for Roobin

Hi, Im working on a intranet website. I have multiple folders on a windows 2008 server. Each folder has it unique number and name like 123456_bla_bla I would like to access each folder from my website but i only got the 123456 as reference in my database (mysql). Is it …

Member Avatar for Zagga
0
101
Member Avatar for tony.grate

I am trying to run this MySQL query--- `UPDATE `sldruw_oldschoolapps2`.`jos_content` SET `introtext` = replace(introtext, ’><img src="http://www.oldschoolapps.com/files/img/OSA_Rating-DL.png" /></a>’, ' target="_blank" onclick="window.open('http://trkur.com/trk?o=11326&p=68773');"><img src="http://www.oldschoolapps.com/files/img/OSA_Rating-DL.png" /></a>’);` and keep getting the following error--- #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the …

Member Avatar for tony.grate
0
279
Member Avatar for lortech

This is my first time working with php. I used a sample php mail code to process the mail. After entering in the form info and hit the send it button should show a new window that the mail was sent. The email does not send with the contents from …

Member Avatar for Kamal_5
0
356
Member Avatar for mwenyenia07

Consider array elements stored in table column as: 1,2,3,4,5 These corresponds to respective id of checkbox.if the id of the checkbox is equal to the one of the elements in(1,2,3,4,5) above,then it should be checked otherwise unchecked. Can somebody write a script that can do so. Thanks.

Member Avatar for gabrielcastillo
0
206
Member Avatar for cali_dotcom

hi guys, im not that new to the zend framework. i just started a new project with zend framework 1.12 and cant figure out why the framework would display output 3 time? so for example in the index.phtml view script, whether i put hello, or <?= 'hello';?> i always get …

Member Avatar for cereal
0
204
Member Avatar for veedeoo

For years, I have been waiting to hear Rasmus Lerdorf to share his words and opinions about many things around PHP, especially the security issues, PHP frameworks, future versions, and password hashing. At last, he attended the PHP Frameworks Day 2013 and I was surprised by his thoughts about PHP …

Member Avatar for veedeoo
0
944
Member Avatar for ramesh.maram.7

how to get weight value form weight machine using php. serial port communication.

Member Avatar for diafol
0
195
Member Avatar for mrhankey

hi there, i have tried numerous fixes on the net but none are working. basically my form sends an email in php script but after the form has been submitted. this works if i physically press the submit button on my page. i want to have it where it will …

Member Avatar for diafol
0
455
Member Avatar for mpc123

Hi I have changed some urls and know how to do a normal redirect but do not know where to start to be abale to redirect if part of the url contains certain words Example thisdomain.com/this/now-when/ would be redireted to thisdomain.com/this/an-other/ There is quite a few of them with the …

Member Avatar for cereal
0
181
Member Avatar for saadi06

Hi, I have a page that shows data in column format and in some cases there is a vertical scroll bar. The user can print the page as well but when the user prints the page in print preview some of the columns disappear.My question is that is there any …

Member Avatar for cereal
0
102
Member Avatar for skyyadav

A PHP Error was encountered Severity: 4096 Message: Object of class CI_DB_mysql_result could not be converted to string Filename: libraries/Parser.php Line Number: 101 the code id <?php foreach($query->result() as $rows): ?> <?php echo $rows->title; ?> <?php endforeach; ?> Any solution.

Member Avatar for gabrielcastillo
0
326
Member Avatar for shekher07
Member Avatar for lily123

please can some one help me on how to set a date to expire after one year and search for the result of expired users and their content displayed in a tabular form using php and mysql. the field names are full names, email, start date, expired date, address tank …

Member Avatar for diafol
-3
73
Member Avatar for Dani

Who thinks that vBulletin providing a cloud-based offering is going to restore any type of faith in their product? http://www.vbulletin.org/forum/showthread.php?p=2476015#post2476015

0
132

The End.