52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Almeister9

Hi all, I am very new to php and am slowly trying to get something together. I have a MySQL database with a table that has (among others) a field which is TINYINT called "field1". I have managed to be able to store a 1 or 0 in it from …

Web Development display mysql php
Member Avatar for baby007
0
2K
Member Avatar for Albert Pinto

Hi People, I need to find invalid emails from the database. and display corresponding columns of those emails (name, phone, address etc) with proper pagination. I have a database with a table named csv_data_table. This table has fields NAME, EMAIL, PHONE, ADDRESS, DESIGNATION. I have to find invalid emails from …

Web Development php
Member Avatar for Albert Pinto
0
189
Member Avatar for david.roun.7_1

Hi all. I have this code: <html> <title> </title> <head> <script> function add(){ var first=document.getElementById("form").value; var second=[first]; for (i=0;i<second.length;i++){ var third=second.join("+"); } document.one.answer.value=third; } </script> </head> <body> <input type="text" id="form" onChange="add()"/> <form name="one"> <input type="text" name="answer"/> </form> </body> </html> What I want to do is allow the user to enter …

Web Development javascript
Member Avatar for david.roun.7_1
0
198
Member Avatar for darkeve

I have created this script using a HTML form and a PHP script which allows the user to search through my database for an event using the Venue and category fields which are scripted as dropdown boxes and the Price and finally by event title, as shown via the code …

Web Development html-css php seo
Member Avatar for darkeve
0
210
Member Avatar for Mohammed_13

I want to include a boolean search box in my existing script in the vResume_screen variable. I have altered the table for hte full text search and need your help. if(!empty($_GET)){ $vResume_screen=$_REQUEST['vResume_screen']; $date_screen=$_REQUEST['date_screen']; $vFirstname=$_REQUEST['vFirstname']; $vLastName=$_REQUEST['vLastName']; $vJobTittle_screen=$_REQUEST['vJobTittle_screen']; $vVisa=$_REQUEST['vVisa']; $InterestP=$_REQUEST['InterestP']; $VErecruitername=$_REQUEST['VErecruitername']; $vLastName=$_REQUEST['vLastName']; $where_clause=array(); if(!empty($vResume_screen)) { $where_clause[]="resume_text like '%".$vResume_screen."%'"; } if(!empty($_POST['vIndustry'])) { foreach …

Web Development php programming-construct
0
117
Member Avatar for malatamil

while uploading i want to rename the image name to date and time.i have a code like this date_default_timezone_set('UTC'); $today = date("Y-m-d"); $_SERVER['REQUEST_TIME']; $dt = $today.'_'.time(); $uploadDir = '/upimg/logoimg/'.$dt.''; $filename = $_FILES['logoimage']['name']; $tmpname = $_FILES['logoimage']['tmp_name']; $filePath = $uploadDir . $filename; $result1 = move_uploaded_file($tmpname, $filePath); after uploading that image path is …

Web Development image php
Member Avatar for malatamil
0
121
Member Avatar for Anthony_6

<form method="POST"> Color: <select name="Color"> <option> </option> <option name="red"> Red</option> <option name="royal"> Royal Blue</option> <option name="black"> Black</option> <option name="white"> White</option> <option name="yellow"> Yellow</option> <option name="navy"> Navy</option> <option name="green"> Green</option> <option name="gray"> Gray</option> <option name="blue"> Blue</option> </select><br> <input type="Submit" name="Submit"value="Save"> <?php if (isset($_POST['Submit'])) { $con=mysqli_connect("localhost","root","","inventory"); $result = mysqli_query($con,"SELECT * FROM color"); …

Web Development php
Member Avatar for diafol
0
102
Member Avatar for davy_yg

Hello, I would like to display a video file on my website. For example youtube video when someone click the small video icon then a larger video begin to open and showing a video file with a transparent black background. How to do so? Thanks in advance.

Web Development php video
Member Avatar for veedeoo
0
178
Member Avatar for nadiam

hey so im trying to save data but i get error: `You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE event_id = '8'' at line 1` this being the line: `$sql = mysql_query("INSERT …

Web Development mysql php sql
Member Avatar for nadiam
0
333
Member Avatar for toxicandy

Over the past month I have been working on a certificate generation system and one part I have still yet to get working is the part that probably is one of the easier parts. All I need to do is check the email that someone enters against the email of …

Web Development php
Member Avatar for toxicandy
0
123
Member Avatar for lukwagomedia

Hello everyone. I have juste started creating my website and I need some help. I have found a thread about this subject but it have been dead since three months back so I didn't get what I wanted from there. What I need help with is: I want to create …

Web Development javascript-jquery mysql php
Member Avatar for lukwagomedia
0
3K
Member Avatar for nileshbhanu

i have genrate a confirm message for session extend and it work properly. but i want that if user not respond to it than it will automatically hide.i have write following code . if($("#takephotopageload").length > 0) { setInterval(function(){ $.ajax({ url: "check_session.php", //data: {action: 'clickme_clicked'}, dataType: "json", success: function(data) { if(data.time …

Web Development json php session
Member Avatar for diafol
0
170
Member Avatar for kingwash

Hi people, i'm new to php and i have this problem: I am developing an application for an insurance company in php. I have 6 tables linked together by a common id in a database. Applicant or user need so register before loging in.When they login,they fill in a form …

Web Development php
Member Avatar for iamthwee
0
2K
Member Avatar for mohamedasif18

Hi, Am currently doing a PHP project which was full of SMS sending from my site to my client mobiles in india. I have searched and get lot of sms gateway api's worked fine . But now i want to create my [COLOR="Green"][B]OWN SMS GATEWAY API[/B][/COLOR] for my site in …

Web Development api php
Member Avatar for sam4444
0
311
Member Avatar for malatamil

i want to fix the image size, becaz if image size is too large then it will take more loading time so i have to reduce that. someone help me to do image scaling method. if size of image width is 800px and i want it in 300px width what …

Web Development image php
Member Avatar for malatamil
0
115
Member Avatar for kannan mangalar

im using api for twitter post, when i post content, twitter not generate the status id, i got this below error Fatal error: Uncaught exception 'EpiTwitterNotAuthorizedException' with message '{"errors":[{"message":"Could not authenticate you","code":32}]}' in

Web Development api first-post php social-media
Member Avatar for kannan mangalar
0
278
Member Avatar for sweta87
Member Avatar for Raadha

i have a database 'phar' which need to subract its values 'stk' through the request made and gets updated to the db. i used arrays to do subraction.. but not able to store back the values to the db in its position.. my calculations work perfect, but not able to …

Web Development mysql php
Member Avatar for Kyle Wiering
0
251
Member Avatar for rahulhog

How to store string to a variable which contains both single & double quote? The string should be dynamic, not static. For example : *thisis'a"string* another string is : *this'i"sastring* The quotes will be vary its position. Is it possible to store these type of string to a variable? Thank …

Web Development php
Member Avatar for diafol
0
247
Member Avatar for eedirex

Hi, Am a final year computer sci student in the university,and have been assigned an online test application for my final project.Please anyone with ideas on how i can carry out this project should please forward their help. Thanks!

Web Development asp.net
Member Avatar for Theirligh
0
321
Member Avatar for nadiam

hey guys so i have a table where the `<tbody>` is populated by data in php. a row has 4 columns: name, unconfirmed, attending and unattending. the last 3 columns are radio buttons(echoed). the problem is that the radio buttons cannot be checked. for example for first row unconfirmed is …

Web Development gui
Member Avatar for nadiam
0
2K
Member Avatar for momal

I have a datalist, and by clicking it, the whole database records pop up. What I want to do is, which ever record is clicked ONLY that record should pop up. **This is my code for the data list and the pop up of all records.** .MY_POPUP_INNER_SMALL { background: none …

Member Avatar for momal
0
316
Member Avatar for burhanahmed92

Is there a way to load a page for a minute and then fetch content of a page. I am using new DOMDocument method to fetch content from a page which is working fine. Problem is that i want to load a page for a minute because the page from …

Web Development javascript php
Member Avatar for pritaeas
0
308
Member Avatar for MasterHacker110

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even …

Member Avatar for kindo
0
247
Member Avatar for mark103

I need some help with my PHP, I'm generating to make the xml output. In the xml output, I can see that I'm using double quotes but i want to use the single quotes. I want to add the single quotes in the <programme channel= tag to make it like …

Web Development open-source xml
Member Avatar for pritaeas
0
168
Member Avatar for ZenMartian

Hi Folks! This is probably an easy one for most of you php people :-) I've got a PHP form that's working fine, yet after I SEND the form, it goes to a web page with a "Thank You" message on it (ala the php {print} command), ok... what I …

Web Development php
Member Avatar for rahulyadav1916
0
15K
Member Avatar for gogs85

How to select image from folder by name in mysql. This is mysql query for other rows $query = "SELECT `posts`.`id` AS `post_id`, `categories`.`id` AS `category_id`,`title`,`contents`,`date_posted` ,`categories`.`name` FROM `posts` INNER JOIN `categories` ON `categories`.`id`= `posts`.`cat_id`"; how to select row 'image' where is name of image and call that image from …

Web Development image mysql php
Member Avatar for gogs85
0
1K
Member Avatar for johndohmen1963

Who can help me with the folowing I have javascrip variable and a php datatable And i wand to read the datatable with the javascript variable here is the code i have if(!isset($_POST['bewerk_gegevens'])) { ?> <script language="javascript" type="text/javascript"> var newland = document.getElementById("geboorte_land").value; if ((newland != "" && newland != "Duitsland") …

Web Development javascript mysql php
Member Avatar for johndohmen1963
0
402
Member Avatar for OsaMasw

Hello guys I want to create something like SEO link i have website with three pages, but the header is the same **header.php** <!DOCTYPE html> <html> <head> <style> .active{ background-color: #365214; } ul{ display: inline; } li{ display: inline; } </style> <title></title> </head> <body> <ul> <li><a class="active" href="index.php">HOME</a></li> <li><a href="a.php">ABOUT</a></li> …

Web Development php seo
Member Avatar for OsaMasw
0
236
Member Avatar for castajiz_2

Is there a easier way to move and postion the object from the toolbox in visual studio asp.net framework.When I say easier i reffer to windows forms framework object positiong where moving objects accross the form is a piece of cake.

Web Development asp.net visual-studio
Member Avatar for castajiz_2
0
291
Member Avatar for mark103

Hi all, I need some help with my php script. I'm working on the script to parsing the time from my other script so I can convert the hours into format, example: the hours I parse is 1:00 AM so I can convert it to 20140427010000. Here is the list …

Web Development php
Member Avatar for diafol
0
323
Member Avatar for stokie-rich

Hey guys I have found this code to create a quiz, I'm getting the following errors when I try and add a question Warning: require_once(scripts/connect_db.php): failed to open stream: No such file or directory in C:\xampp\htdocs\addQuestions.php on line 33 Fatal error: require_once(): Failed opening required 'scripts/connect_db.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\addQuestions.php on …

Web Development file-stream html-css php sql
Member Avatar for stokie-rich
0
339
Member Avatar for Junzification

Hello buds, I want to know if this is doable: I have a website then on my homepage there will be two buttons. The buttons are A and B. Button A: will go to a page Option A Button B: will go to a page Option B So when visitor/user …

Web Development wordpress
Member Avatar for SuperiorWD
0
131
Member Avatar for tibormarias

Dear Readers! I would like to ask your kind help about showing just the selected markers in Google Maps API V3. I have a HTML select -> <select onchange="appartments()" id="selectField"> <option value="appartment1">Choose one appartment...</option> <option value="appartment2">1052 Budapest, Galamb u. 3.</option> <option value="appartment3">1052 Budapest, Régi posta u. 11.</option> <option value="appartment4">1052 Budapest, …

Web Development api javascript seo
0
170
Member Avatar for vizz

My client is using [this iView slider](http://iprodev.com/iview/index3.html) He wants to make it responsive & fullscreen. He don't want to change slider as he likes transitions of this slider. I'm trying hard but images are not working as responsive. please help (images are 1600 x 1067) <div class="container"> <div id="iview"> <div …

Web Development html-css javascript
Member Avatar for iamthwee
0
278
Member Avatar for surferbloggy

Hi i've done a wordpress plugin, i've done th the localization as explained [here](http://www.wdmac.com/how-to-create-a-po-language-translation#more-631) so i've generated the po and mo file for the new languages and i've done the traslations the words to traslate are this way <?php _e('System Settings', 'wp-myplugin-name'); ?> or _e('System Settings', 'wp-myplugin-name') but in the …

Web Development php wordpress
0
167
Member Avatar for mpc123

Hi I need to delete words before a set of words in a field. eg delete the words before the word price in that field. I already have a query to replace a certain word but cant see how adapt it to do what I require update TABLE set `field` …

Web Development php sql
Member Avatar for diafol
0
189
Member Avatar for sasi_88

hi, i want to disable the back button in IE browser. i have the code but it's not working logout.jsp [CODE] <script language="javascript"> window.history.forward(); </script> [/CODE] i don't know where to put the script code it is put in the logout.jsp file or before please help me out of this

Web Development gui java-jsp
Member Avatar for Satyaveer1990
0
5K
Member Avatar for ray100

This is the project I need to finish. I am fairly new to php and this project has got me confused. Any help would be greatly appreciated The project ask for to validate ISBN 10 Number. There would be 10 digits with 1-9 being Numbers, but Number 10 is an …

Web Development php programming-construct
Member Avatar for diafol
0
560
Member Avatar for ray100

HI, I am a beginner at programing and I have to do this project where it is asking me to validate any ISBN 13 number. I know how to set up the input page, but I am having or you could say no Idea how to validate a number if …

Web Development php programming-construct
Member Avatar for iamthwee
0
512
Member Avatar for ravi142

Hello, I am learning codeigniter So I have 3 radio button. My code as under **View Page** <li id="AgencyType" style="z-index: 93;"> <label class="mandatory" for="ExternalAgency">Are you an employment agency?</label> <ul> <li style="z-index: 92;"> <?php $data = array( 'id'=>'ExternalAgency', 'name'=>'ExternalAgency', ); echo form_radio($data);?> <label for="ExternalAgency">No, we recruit directly.</label> </li> <li style="z-index: 91;"> …

Web Development php php-codeigniter
Member Avatar for iamthwee
0
139
Member Avatar for ravi142

I am learning codeigniter when i create rule for validate dropdown box but its not given me error message **View File** <?php $option = array('0' =>'[ Please select an Experience Level ]', '1' => 'Without experience', '2' => 'Internship', '3' => 'Less than one year', '4' => 'One year', '5' …

Web Development html-css php php-codeigniter
Member Avatar for iamthwee
0
2K
Member Avatar for jovstudios

Hello Guys, I have a radio button has a different value i dont know how to get the sum of this. can you give me some ideas? or sample code? thanks guys. this is my code. <tr> <td width="500"><?php echo $behavioral; ?> </td> <td align="center" > <div> <input type='radio' class='css-checkbox' …

Web Development gui php
Member Avatar for AndrisP
0
750
Member Avatar for chemistcorey

Hi- I am creating a basic form that posts data to a mySQL database. One of my tables, called "sites", contains the following information: site_name, site_id. I have created a dynamic dropdown menu of the sites (so the dropdown menu references the table "sites" to display all site names in …

Web Development html-css php
Member Avatar for iamthwee
0
1K
Member Avatar for Ju

Hello programers i wanna change the background color for the the div by choosing the color from dropdownlist if there is any ideas , :)

Web Development asp.net html-css
Member Avatar for geniusvishal
0
163
Member Avatar for yeshamarques
Member Avatar for geniusvishal
0
129
Member Avatar for laura301019

I have an application that uses microsoft access as the database. The application is to allow users to book appointments online. I would like to include an email reminder service so that an email is sent to the user 24 hours or so before their appointment. Not sure how I …

Web Development asp.net email microsoft-access
Member Avatar for geniusvishal
0
602
Member Avatar for aswinmc

i want the whole excel file has to open in web page n moreover have to enter some input and will hv to **insert/update** based on formulae cells. Is thr any chance to achieve this?

Web Development asp asp.net microsoft-office
Member Avatar for geniusvishal
0
89
Member Avatar for jafar muzeyin

I am working on my final year project. It is a web based system that is based on ASP.NET/MVC. I want to start from database but I have a little confusion which database to use from Sql, sqlite and sqlite3 that is not complicated and good for me to finish …

Web Development asp asp.net sqlite
Member Avatar for geniusvishal
0
346
Member Avatar for Sulaiman_1
Member Avatar for geniusvishal
0
210

The End.