39,323 Topics

Member Avatar for
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
219
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
362
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
394
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
128
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
165
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
200
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
209
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
202
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
252
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
78
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
104
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
179
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
195
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
147
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
Member Avatar for NYCSavage

I was creating a database for my sister showing which Goalkeepers have the most clean sheets during the Soccer European Championships. I know that if I want to just display the Goalkeepers in order of amount of clean sheets then my SQL code would read: SELECT * FROM gk ORDER …

Member Avatar for NYCSavage
0
171
Member Avatar for hwoarang69

1st - this code here prints random image from database. but i need help print random images but no repeating images. 2nd queestion is that how can i use this code to print image name. too. $Q = "SELECT (SELECT image_short_name FROM user WHERE username = '$user') as `image_short_name`" .",`image_id`,`image`" …

Member Avatar for JudgeyD
0
125
Member Avatar for wju2004

Okay, my head is swimming as I've been trying to figure out what I'm doing wrong here. I am certain it's something stupid and I've tried different ways of putting it all in, but still no luck. Basically, I am trying to make it so I can put in our …

Member Avatar for wju2004
0
228
Member Avatar for vijayram

Hi, everybody i have problem in fileuplaod.apache error log display the following error mesg File does not exist: C:/wamp/www/uploads/planbooks/0f3d1d9a2ac7fbaf6ed4b4c266901eb579e2e658.jpg, but i creates folder in uploads/planbooks class PlanbookForm extends BasePlanbookForm { public function configure() { parent::configure(); $this->useFields(array('photo','title_name','country_id','zone_id','place','itinerary','occasion','date','description')); $this->widgetSchema['photo'] = new sfWidgetFormInputFileEditable(array('label' =>'photo','file_src' => '/'.sfConfig::get('sf_web_upload_dir').'/uploads/planbooks/' .$this->getObject()->getPhoto(), 'is_image' => true, 'edit_mode' => !$this->isNew(), …

Member Avatar for JudgeyD
0
67
Member Avatar for hwoarang69

i want to get image_id. which is store in database long blob. iam send a image id from different page to this page. and i am using _GET to revice the image_id on this page. $image_id = $_GET['img']; but it say Undefined index: img is there a different way to …

Member Avatar for hwoarang69
0
640

The End.