39,326 Topics

Member Avatar for
Member Avatar for dany12

I want to create an email class with many functions and use this methods I want some advice how to make this flexible and reliable as much as I can but another important feature is security to verify all the external input I am going to past all my code …

Member Avatar for dany12
1
127
Member Avatar for ben.matthews18

Hi, I have an unordered list in a file called elements. is there any way of putting the unordered list into a variable so that i can use include to place it on my homepage? help would be appreciated thanks

Member Avatar for diafol
0
127
Member Avatar for Coyx

Hi all, I'm having difficulty with a function I've written. What it does, is creates a standardised list of Options Value's in a Selector for HTML. The value of the MySQL query is then used as the value, but for some reason, I'm getting an error in the code. If …

Member Avatar for Coyx
1
261
Member Avatar for anu013

Hey Guys, I m new here. I need a help I am working with a s/w where I need to fetch data from database onchange event. actually scene is the user will select one option (ie. name of company) from the dropdown box. According to that value the s/w should …

Member Avatar for anu013
0
7K
Member Avatar for danielbala

Hi, I have some issues like 1.for free classified ads website what CMSs or Ecommerce softwares or we can do just code in php without using any of these? 2.Same for social networking and job portal websites too?? 3.If we use just php coding for free classified ads website how …

Member Avatar for technolabinc
0
135
Member Avatar for jacob21

Hi, I am using below linked converter to convert kruti hindi font in to unicode font. But i am not exactly getting same data(in unicode) as in my document(in kruti font). [Click Here](null) http://svnnews.in/convertor.htm Below is attached document of kruti font which i want to convert & above link is …

Member Avatar for cereal
0
83
Member Avatar for danielsikes

Hi, I have a database table structure that works as follows: search_id: (auto int) group_id: (unique to group) field_name: field_value: so some entries in my db would look like this: search_id group_id field_name field_value 1 123456 fname John 2 123456 lname Doe 3 123456 email jdoe@abc.com 4 789012 fname Jane …

Member Avatar for rotten69
0
221
Member Avatar for cgull

Hello, I never used cron jobs before and now I have this scenario: I have a table with a Boolean column called: new. I need to check this table every day, and if the record was created 30 days ago, I need to update the column to False. Do I …

Member Avatar for cgull
0
364
Member Avatar for prolaysarkar

I am trying to return the values of checkbox if the checkbox is checked before form submission it should remain checked after the post method. The checkbox works fine and gets updated in database i only need to retain checkbox values.....Thanks for help in advance <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML …

Member Avatar for Zagga
0
395
Member Avatar for mbarandao

I have a list of customers on a waiting list for services to be rendered today. I want to calculate on average how long it takes from the time the customer was queued to the time that customer record was updated. I'm not really sure of the correct table structure …

Member Avatar for mbarandao
0
130
Member Avatar for hwoarang69

i have a link on zoom.php here i have a link where iam send image_id <a href=\"editimage.php?img=$image_id\">Edit</a> now i have a editimage.php where i reciving the image_id. $image_id_g = isset($_GET['img']) ? $_GET['img'] : 0; but i printing always 0's but i want to print the image id here i also …

Member Avatar for urtrivedi
0
166
Member Avatar for bflack

Hello, can anybody help me here? I am using mysql database and xampp server. Now, I made the database using my laptop computer and I have to distribute the database with its records to another laptop computer. The problem is when I tried to transfer the database file to the …

Member Avatar for veedeoo
0
201
Member Avatar for saadi06

Hi, I have a problem in making a query.I have two tables patient and encounter. Patient has one to many relation with the encounter table. The encounter table has a field encounter_date. I want to make a search query in which I enter the date ranges and the query fetches …

Member Avatar for diafol
0
171
Member Avatar for adchicago

Can some one help my butt out that why I only get one check box out of the 4 to show up in my email to myself when a user hits submit? When ever I check box any email I only get the bottom check box to show up in …

Member Avatar for adchicago
0
210
Member Avatar for nikki05

Hi, My phpmyadmin is inside the server. I want to connect my database from my remote PC to the database in the server using php. I would greatly appreciate if someone can suggest a way to connect the database remotely in windows platform. Thank you.

Member Avatar for Coyx
0
203
Member Avatar for davesmith437

Hi all, this is what I've built: A dynamically built form which selects the questions depending on the section of the form it's in. The problem: Each form input is called `answer[]` passing the selected value to an update query $updateSQL = sprintf("UPDATE tblsite SET sitetypeid=%s, pctid=%s, contactname=%s, address=%s, postcode=%s, …

Member Avatar for davesmith437
0
221
Member Avatar for dualzNZ

Hi all I have recently watched a tutorial series from PHPACADEMY called the advert rotation script series. I have found a small problem, the problem is that if any of the adverts have expired then the rest will not show. does anyone have any solutions for this issue, that if …

Member Avatar for dualzNZ
0
6K
Member Avatar for hwoarang69

i get erros here: Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\a_upload\zoom.php on line 48 <?php $visitors = 0; $handle = opendir(session_save_path()); while(($file = readdir($handle)) != FALSE) { if($file != "."&&$file !="..") { if(ereg("^sess",$file)) $visitors++; } } echo "there are $visitors online"; ?> here is my full code if you need …

Member Avatar for hwoarang69
0
262
Member Avatar for Exaktor

Hi, I want to know how to select data from a database with two drop down menu. I can select a data from mysql database with one drop down menu. But I don't know how to combine two drop down menu to select data from database and show it in …

Member Avatar for diafol
0
79
Member Avatar for hwoarang69

i am only display 10 images on this page but it takes like 4sec to load. which is alot, i should take like 1 or 2 sec to load. any thoughts? i also tired joining sql <?php include("include/header.php"); //check, if user is loged in or not if(isset($_SESSION['username'])) /*** user is …

Member Avatar for almostbob
0
108
Member Avatar for azgold

Here is a tricky one that im having issues with... I have a page called events.php that has a include to query sql and pull events from the database after todays date and include the artist information from a include file. here is the code. The events page has a …

Member Avatar for pritaeas
0
205
Member Avatar for swissknife007

<?php mysql_pconnect("localhost","root",""); mysql_select_db("AppDevelopMenu") or die( '1'); $sql1=mysql_query("select Question from questions where QId ='1'"); if(!$sql1) echo '2'; else{ $question=mysql_fetch_assoc($sql1) ; $outputq[]=$question; $sql=mysql_query("select OptionId,OptionContent from options where QId ='1'"); if(!$sql) { echo '3'; } else { while($row=mysql_fetch_assoc($sql)) $outputq[]=$row; print(json_encode($outputq)); } } mysql_close(); ?> i have to modify this code to read json …

Member Avatar for diafol
0
99
Member Avatar for hwoarang69

so i have a table called image: ->image_id, user_id, img, name and i want to del one row where image_id = 3; $del = mysql_query("DELETE image WHERE image_id = '$image_id_g'"); i want to del whole row not just image_id. iam not sure if this will del whole row

Member Avatar for JorgeM
0
105
Member Avatar for JameB

Hi, I'm a beginner programmer and I'm developing this web app, nothing major; the hardest part was writting to text file (not really hard...) Anyways, my company policy doesn't allow us to install server softwares on computers. So now, I can't run the PHP code I wrote!! **I am wondering …

Member Avatar for diafol
0
180
Member Avatar for sinabug

Hi all. Maybe someone can help me here. I have a pagination document in php to paginate a large mysql table. This pagination document (by Jatinder Singh Thind, www.phpsense.com) "includes_once" another pagination document that has functions to handle the page links. The functions return a link. I'm trying to get …

0
88
Member Avatar for showman13

I have a comparison of 2 variables in a script, and am not getting the desired results, and wondered what the simplest comparison would be to obtain those results... $username='TestName'; $user='testname'; if ($username==$user){ print "This is the result I want." ; }else{ print "This isn't the result I want." ; …

Member Avatar for showman13
0
114
Member Avatar for drjay1627

Hello, I am building a blog - just to shapen my skills. Since leaving college I feel like I have been loosing my programming edge. I work in IT and I primarily work on Oracle databases as a developer. Here is what I am building - a blog. I have …

Member Avatar for mschroeder
0
197
Member Avatar for showman13

Hi, I'm at a conference that is using a form in a website that I developed, and for some reason the form is not accepting the value of the checkbox when it is selected. It used to work fine, and apparently I did something within the past few days that …

Member Avatar for showman13
0
148
Member Avatar for Borderline

Good evening I'm looking for yet more assistance, and hope someone is able to point me in the right direction. I'm trying to produce a format for our tipping competition, whereby people who fail to complete their entries are shown a) without a result in the profit column, and b) …

Member Avatar for Borderline
0
118
Member Avatar for JudgeyD

Hello Everyone, I am using a Javascript Library called [Turn.js](http://www.turnjs.com/) and basically, I am building an ebook reader, now the problem is that I need to load external pages, these pages have their own animation and css layouts per page, plus the image is made for an iPad so vertically …

Member Avatar for veedeoo
0
148

The End.