39,316 Topics

Member Avatar for
Member Avatar for leoblanc

Hi all, Need help from all of you... I am still a newbie, and wanna ask code to display mysql data based on username login. I try many time to change on this code : $result=mysql_query('SELECT tb_hitung.Keterangan, tb_hitung.Debit, tb_hitung.Kredit FROM tb_hitung INNER JOIN tb_bulan ON tb_hitung.id_bulan=tb_bulan.id_bulan ORDER BY tb_hitung.id_hitung'); but …

Member Avatar for SummerNight
0
101
Member Avatar for sway1101

Hey all, I have created a mail script in PHP for a contact form on my website. I have a message that displays when the message has been sent. I would like this message to display below my form but am having some trouble with this. The message is currently …

Member Avatar for cereal
0
205
Member Avatar for cse.avinash

I am a newbie to php and learning now, can you please help me telling how can I take inputs from users in pHp instead of using forms (i.e., a replacement of scanf() in php. I am solving a question to take number as a input and print that number …

Member Avatar for cse.avinash
0
227
Member Avatar for karthik_ppts
Member Avatar for diafol
0
118
Member Avatar for dualzNZ

Hi all i am creating a web application and i would like to generate a md5 checksum on an uploaded file while uploading can i just add md5($file); or is there another way to add a checksum thanks

Member Avatar for veedeoo
0
63
Member Avatar for cjohnweb

So I am trying to do a neat little script in a wordpress plugin that replaces matching keywords with links to other articles on the site. I think I'm done all except one little thing down here below. I need to fix the preg replace function. It should match anything …

Member Avatar for cjohnweb
0
385
Member Avatar for hwoarang69

i am storeing image in database type long blob. //STORE IMAGE IN $IMAGE $image = chunk_split(base64_encode(file_get_contents($_FILES['fileupload']['tmp_name']))); //store image name in $image_full_name(.jpeg) $image_full_name = $_FILES['fileupload']['name']; //store image size in $image_size than conver to 100x100 $image_width_height = getimagesize($_FILES['fileupload']['tmp_name']); $image_resolution = $image_width_height[0] . "X" . $image_width_height[1]; //size of image 100x100 //get size in …

Member Avatar for veedeoo
0
245
Member Avatar for BadManSam

Hi , I edited my webpage and this occured **Parse error: syntax error, unexpected $end in /home/techgeek/public_html/FrF/test.php on line 59** I have checked all the tags and they are closed and here is the code. <?php include("include/session.php"); global $database; $config = $database->getConfigs(); ?> <html> <head> <title><?php echo $config['SITE_NAME']; ?> - …

Member Avatar for diafol
0
195
Member Avatar for tim_ver

I have an issue when I add "" around text in the statement below. With out it works fine but when I add it the whole page is blank. Can someone please help me out on this one. I need to have the quotes in the verbiage. **This works:** $lang["t_tech_v26_content"]="We …

Member Avatar for tim_ver
0
209
Member Avatar for mangel.murti

hi i am working on a mobile verification code wher user can enter his email and his mobile number.then code has to be send to his mobile number,by that code user can login to site. how to achive this target. thanx in advance.......

Member Avatar for jewel205
0
201
Member Avatar for garyrichard

I want to load three list boxes where 2nd list box is loaded on the basis of selection of 1st list box and 3rd list box is loaded on the basis of selection of 2nd list box.. .

Member Avatar for veedeoo
0
569
Member Avatar for rfrapp

Hello, I am trying to upload music files to a database for use on my website. However, the file doesn't seem to actually be going into the folder. I get the name of the file in phpmyadmin, but I don't see the file anywhere. Here's my script (I do have …

Member Avatar for veedeoo
0
727
Member Avatar for SummerNight

Hi, I have a file called reports.php which has several php and database functions. Upon viewing it in a browser it displays a nicely formatted report. Is there a way I can save the HTML(only) output from this reports.php into a **new file** (probably html) in a web server ? …

Member Avatar for veedeoo
0
2K
Member Avatar for wonderland

Hi, I don't know much about php, since I didn't need it. Now though I need to make one small change in .php file - change some text that gets displayed. This text is in UTF-8 Format with letters like ā š ķ , etc I've changed text inside of …

Member Avatar for motke
0
284
Member Avatar for veledrom

Hi, I've written my own pagination but one last bit left and need help. I have the array wbelow: Array ( [First] => First [<] => < [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 [7] => 7 [8] => …

Member Avatar for veledrom
0
151
Member Avatar for johndohmen1963

i have the folowing code that gives me the first letter of each word. $string = $rowec['doopnamen']; $punt ="."; $words = explode(" ", $string); $doopnamen = " "; foreach ($words as $value) { $doopnamen .= substr($value, 0, 1); } But how can i get a dot after each letter ? …

Member Avatar for johndohmen1963
0
744
Member Avatar for devindamenuka

Hi all, I just started joomla module writing (1.5 version). I have some knoweledge about this module writing now. problem is I want to select country name from a one module and load country flag in another module.which second module is in another region(or div). I know only to handle …

Member Avatar for devindamenuka
0
164
Member Avatar for hwoarang69

so i have a page where where is a link <a href=\"editimage.php?img=".$image_id."\">asdf</a> an another page i have to get the image_id that i am passing $image_id_g = isset($_GET['img']) ? $_GET['img'] : 0; echo"$image_id_g"; but the problem is that it prints 0 here. but i wan tto print image_id

Member Avatar for hwoarang69
0
233
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
260
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
218
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

The End.