39,320 Topics

Member Avatar for
Member Avatar for s1a9r8a0

Hi, I am a learner of PHP. i want to know how to Write file names from a folder in drop down?. I have the multiple .xls file in that folder. please any one help me.

Member Avatar for Shanti C
0
26
Member Avatar for Shanti C

can any one tel me what is reason behind this error??? Fatal error: Call to undefined function: imagecreatefromjpeg() in D:\web\test\thumbnailcode.php on line 18 and i have already installed GD library in my system... thanks ....

Member Avatar for Shanti C
-1
82
Member Avatar for max2me99

I've a mySQL db with two tables - advertisers and category. If the advertiser is active, I'd like to have the category name appear, with all active advertisers below, and then the following category, etc. Right now I'm testing and have everything active. Quick structure on tables are [B]advertisers[/B] contains …

Member Avatar for nav33n
0
114
Member Avatar for ishlux

Is the where clause is correct....... [code=sql]$query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."' AND where flag='1'";[/code] I am getting this error after executing this statement. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\demonew\contractor_trash.php on line 220

Member Avatar for Shanti C
0
72
Member Avatar for newbietech

Hey guys I need some help with sorting under headers, Suggestion was made by Professor PC but keep getting errors. I hope to get this solved. I couldn't figure it out. I just keep getting some error messages. I don't know what you're talking about when you mention "><a href="thispage.php?sort=1">Notice …

0
40
Member Avatar for Bulldawg

Sorry, me again. Is it possible to help me with being able to sort by clicking on column headers. And the code again: [code=php]$query = "SELECT firstname, lastname, pilotid1, pilotid2, COUNT(flight_time) AS flights, SUM(block_time) AS block, SUM(flight_time) AS ftime, MAX(date_of_flight) AS date FROM members, pireps WHERE members.pilotid1 = pireps.pilotid2 GROUP …

Member Avatar for newbietech
0
86
Member Avatar for ramseswar

need help to sort the output of database into a tabular output and allowing user to sort the result by ckicking on the header titles of table.........................

Member Avatar for ramseswar
0
73
Member Avatar for ibrahimssani

Hi there, am new to php and i have been trying to upload files from a form to a location on a server ( folder "uploads" on the server), the syntax and everything i am using is right cos i tried using just a form but when ever i use …

Member Avatar for ibrahimssani
0
441
Member Avatar for atplerry

Pls i dont relly want to understand what is really wrong with the code below! I want to insert record into the database i have written one and it is working well for two record but for these is not working. And more so it work anytime it like it …

Member Avatar for PomonaGrange
0
95
Member Avatar for tirivamwe

Hie everyone. Its been a year now using PHP and i think i do understand it now but dont understand what a PHP framework is and what it is used for, how it works, and if its necessary to use it. please help

Member Avatar for mexabet
0
103
Member Avatar for mustafaneguib

ok guys is there any way to submit a form to a number of pages at the same time? can we provide a number of urls instead of just one action attribute? one form send the same info to different pages. i mean something like an email, but it is …

Member Avatar for mustafaneguib
0
110
Member Avatar for justinmyoung

I'm trying pull up data from database, and display it on a table. I used this code before but for some reason it won't work here. Any suggestions? Thanks! It says the error is this line: [ICODE]<?php while ($list = mysql_fetch_assoc($result)) {?>[/ICODE] The error message is: [B]Warning: mysql_fetch_assoc(): supplied argument …

Member Avatar for mustafaneguib
0
219
Member Avatar for ryy705

Hello, In a spam message I always see my own email address in the to: field. How do they do that? They must use the bcc: field to send out the emails. So why do I see my own email address in the to: field? I would like to create …

Member Avatar for mexabet
0
91
Member Avatar for wussa

I have been having a parse error but its ok now.But there is another problem. I can reg and email sent to me for confirmation,. I have confirmed it but when followed link to verify confirmation of registry it said nothing is found. Is this a database error. Thanks My …

Member Avatar for nav33n
0
119
Member Avatar for max2me99

Very new to this. I've set up a MySQL db with two tables. Structure is table_ads with fields id, category_id, name, sort_name, img1, img2, and active table_categories with fields id, category The goal is when page is loaded to have all active (true) names from ads fall below the category …

Member Avatar for max2me99
0
103
Member Avatar for cork

Do some servers support classes and others don't? I wrote a shopping cart on one server and copy/pasted in onto another server and i get the following error: Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in .../classcart/ShoppingCart.php on line 7 This is how …

Member Avatar for buddylee17
0
118
Member Avatar for wussa

Hi, please help me as I can't see to get the problem. I have just transferred the site to my new host. I am getting this problem hitscountersite.com/register.php please help me php coder. Cheers

Member Avatar for nav33n
0
103
Member Avatar for shekki

Hi, I'm having trouble getting this to run. basically I'm trying to get a table to display miles per gallon into liters per 100 kilometers in increments of 10. Every time i run it though, it just displays the table header without any results. Any advice would really be appreciated …

Member Avatar for shekki
0
60
Member Avatar for Ivan Rutter

Help! Running xampp (basic package) version 1.6.6a under windows XP Professional, installed to D:\xampp. Attmpting to use zip_open() in php script and getting: Fatal error: Call to undefined function zip_open() in D:\xampp\htdocs\tms_test\zip_test.php on line 3 The php script, from the 'w3schools' website, is: <?php $zip = zip_open("test.zip"); zip_read($zip); echo "zip_open …

Member Avatar for Ivan Rutter
0
373
Member Avatar for psathish2

i get username and password from user in login.php to compare with mysql db username and password.here 2 type of user are admin,user,if login a admin go to uregister.php then login the user go to userlink.php in the databse 3 fields username,password and usertype. [code=php]<html> <head> <head> <body> <form method=post …

Member Avatar for peter_budo
0
188
Member Avatar for infernodeep

hi can anyone help me plzz im very new to php. [CODE]http://localhost/cion_latest/download.php?code=adm&user=7&download_type=trial[/CODE] from this im try to download an application. Application downloading correctly but when im try to install app. im getting this error [COLOR="Red"]This installation package could not be opened. contact the application vendor to verify that this is …

0
55
Member Avatar for gargg321

Hi I am in a bit of fix. I am developing a module in PHP where I am using javascripts to validate the data entered by the user. Now the problem is that I am firing a query to the database through PHP and hence storing its results in PHP …

Member Avatar for Shanti C
0
126
Member Avatar for Venom Rush

Hi there I'd like to have a script run automatically each day that removes a day from a table with a column called "day" but only if an entire day has passed since the entry of the relevant row. Can someone perhaps suggest the best way of doing this?

Member Avatar for mexabet
0
118
Member Avatar for lydia21

hi, page navigation is not working.please tell how to pass date [CODE]<? include_once('session_control_emp_sp.php'); ?> <html> <head></head> <body> <? //db connection $page_name="mg_resumep.php"; //$limit=sql_quote($_GET['limit']); // Read the limit value from query string. $limit=$_GET['limit']; //$start=sql_quote($_GET['start']); // To take care global variable if OFF $start=$_GET['start']; $id=$_GET['id']; // echo "\n"; $agent=mysql_query("select * from magic_agent where …

Member Avatar for lydia21
0
75
Member Avatar for ishlux

Hi, here is the code for page navigation, its working fine but , if there are 4 pages , each page is displaying 3 records per page, if we go to 3rd page, and click on the subject it will display the contents but it will automatically come to the …

0
46
Member Avatar for Lavendor

how do i access the database? i am using dreamweaver as my design interface. and using php for script / coding. thanku.

Member Avatar for Shanti C
0
88
Member Avatar for bmarshall.0511

Alright so after many people asking me to post the login script I use for my site at [URL=http://www.locatestyle.com]locatestyle.com[/URL], I made two functions. Now these functions do not include everything that is used for the login procedure on [URL=http://www.locatestyle.com]locatestyle.com[/URL] due to the fact I don't want everyone to know how …

Member Avatar for buddylee17
0
93
Member Avatar for xylude

Is there something special i need to do to get this to work? I made a script that builds a neat little table with pictures from the sql database, and want it to go into an iframe. When i run the code I get this: (screenshot) [url]http://www.freewebs.com/xylude/helpme.jpg[/url] It just shows …

Member Avatar for xylude
0
224
Member Avatar for ldaves
Member Avatar for mexabet
0
50
Member Avatar for ishlux

Hi all, $a1 = $_POST["a"]; $servicec = addslashes(serialize($a1)); i used this code to store the check box values in db with comma seperated it has stored like this....a:5:{i:0;s:18:"vehicle Inspection";i:1;s:14:"batteryservice";i:2;s:10:"oil canhge";} but while retrieving its displaying in the same manner but i want dont want to display like this.....i want it …

Member Avatar for nav33n
0
77

The End.