39,316 Topics

Member Avatar for
Member Avatar for mbarandao

Good day forum: I need some assitance retrieving and displaying an image. I have stored image in a directory on my server and saved its name in mysql. I'm able to retrieve and display all images on a page in the following way. [CODE]<?php // Connects to your Database include …

0
62
Member Avatar for seekdestroy

Ok, i need help making two list boxes. One is dynamically filled with results from an sql query ( i think i can do that). The second is then empty. The user will double click a value in the first box and it will be moved to the empty box. …

0
61
Member Avatar for Dante2

Call me a noob, but is there a way to use [B][I][U]just[/U][/I][/B] PHP to create a photo slideshow? Or do you need to use flash? I have code that will display images in a random sequence, which is fine. [CODE=php]<?php $pic = rand(1,15); print "<img src=\"images/$pic.jpg\" height=\"100\" width=\"140\" />"; ?>[/CODE] …

Member Avatar for Dante2
0
189
Member Avatar for Lolalola

Hi, i run soap client: [CODE]$dir = "http://address.com/?Version=1.0,wsdl=1"; $client = new SoapClient($dir, array('login' => "test", 'password' => "test"));[/CODE] Test, print_r($client): [CODE]SoapClient Object ( [_login] => test [_password] => test [_soap_version] => 1 [sdl] => Resource id #3 ) [/CODE] And in this server is class: [CODE]all_user * return: array * …

Member Avatar for pritaeas
0
105
Member Avatar for Jeyush

Hi, I have two sites [url]www.abc.com[/url] and [url]www.xyz.com[/url], both are using [B]phpproads[/B]. I just want one database for those two websites. PHPPROADS uses database table to redirect site url, but not found how and where it redirects code lies. If anybody knows anything about that then please share with me. …

Member Avatar for Jeyush
0
137
Member Avatar for khushhappy

Hi, [COLOR="Red"]Page 1[/COLOR] [CODE] <td width="68"><a href="directory_update.php?updateid=<?php echo $row_Directory['Sno']; ?>"><img src="images/btns/delete.png" width="36" height="36" border="0" /></a></td>[/CODE] [COLOR="red"]Page 2[/COLOR] [CODE]mysql_select_db($database_Connection, $Connection); $query_Directory_update = "update directory set Sno=<?php $Directory_update['Sno']; ?>where Sno='$_GET[updateid]'"; $Directory_update = mysql_query($query_Directory_update, $Connection) or die(mysql_error()); $row_Directory_update = mysql_fetch_assoc($Directory_update); $totalRows_Directory_update = mysql_num_rows($Directory_update);[/CODE] [COLOR="red"]Error[/COLOR] [COLOR="Green"]Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or …

Member Avatar for khushhappy
0
91
Member Avatar for amit_kuetcse2k5

Hello, I cannot convert my php music site to wap site.Have any idea?Please help me? Thanks Amit

Member Avatar for pritaeas
0
78
Member Avatar for xuexue

hi guys, i have this page, add_row.html, this page dynamically adds another row of inputs as per the user requirements.. [CODE] <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var cell1 …

0
87
Member Avatar for zlloyd1

I am trying to finish a project and have hit a snag and since I got helpful advice in this forum before I thought I give it another try. I am trying to make an html page that collects personal data and sends it to a php file that should …

Member Avatar for Dragonbaki
0
152
Member Avatar for Borzoi

1. Separate pages. Each page coded completely independently. 2. Index page with content as included files. An index page with everything that would appear on every page coded in then a simple if statement to check which page should be displayed, likely depending on the URL (e.g.: index.php?page=news). 3. Content …

Member Avatar for aniyishay
0
167
Member Avatar for shoykay

Please, I will like anyone who can help me on this query $page_set=mysql_query("SELECT * FROM pages WHERE subject_id = {$subject['id']}", $connection); it resulted in the following error when viewed on the browser "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …

Member Avatar for Mckcvision
0
212
Member Avatar for xuexue

guys, this code below will dynamically add new rows to the page once the link is clicked..now, my problem is that how can i get the value of the inputted rows.. [CODE] <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var …

0
81
Member Avatar for buzz-lightyear

Hi, I am trying to get my date field in a table to display as a long date (%W, %D %M %Y) format, but when I change the query variable using the FORMAT_DATE function it doesn't work at all, I just get a warning error. [CODE]die('Could not connect: ' . …

Member Avatar for Dukane
0
154
Member Avatar for dschuett

Hey everyone, I am trying to write a script that goes through a certain directory and all its sub directories and have it return ONLY a list of FILES (not directories). I have this working good so far for a single directory: [CODE] <?php session_start(); ?> <html> <head><title>page</title> </head> <body> …

Member Avatar for diafol
0
121
Member Avatar for bobgodwin

I'm have a script that outputs files and folders w/ folders as a header and the files listed below. I'd like to sort them alphabetically, but can't seem to figure it out. I think I need to get them into an array. Or use scandir. Here's the code: [CODE]function getDirectory( …

Member Avatar for bobgodwin
0
550
Member Avatar for VernonDozier

I'm having some problems using PHPMailer sending to gmail. I have plain-text and HTML e-mail contents. Mail is successfully received at an e-mail address in yahoo mail and an e-mail address in gmail. The problem is that the gmail e-mail shows up in plain text(all HTML formatting removed). The Yahoo …

0
75
Member Avatar for Stefano Mtangoo

Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book …

Member Avatar for Stefano Mtangoo
0
364
Member Avatar for logicslab

Hi pals, I got a complex Array from the Query. it's Structure is like [quote]Array ( [0] => Array ( [server_name] => anes.admod.net [id] => 1 [server_id] => 1 [description] => nice Anes Server [status] => 0 [max_down_count] => 9 [check_interval] => 15 [fail_recheck] => 6 [log_retain] => 1 [warning] …

Member Avatar for erayfield
0
161
Member Avatar for Xufyan

i have downloaded a php script , it includes just checksum.md5 file, index.html, file_id.diz and favicon.ico this script requires to add databse and other config , how can i use this script without any config file or php files ?

0
69
Member Avatar for s.butler1

I'm trying to create a page to send emails to contacts in my database. I started by embedding an array in the page and then used a text file, both were successful and now I'm trying to take the information from a database. [CODE]$setEmailArray = array ("email@domain.co.uk", "email@domain.com"); for($i = …

Member Avatar for s.butler1
0
968
Member Avatar for amit_kuetcse2k5

Hi, I can not configure imagemagick on windows with xampp . Please help me? Thanks Amit

Member Avatar for mschroeder
0
60
Member Avatar for rakibtg

i have found a free php email form, it is a good form but problem is that it has a custom title so emails are come to me as a custom title in my inbox. [I]define( 'PHPFMG_SUBJECT' , "[B]Here Is The Custom Title[/B]" );[/I] it's located in [B]/form.lib.php[/B] root. How …

Member Avatar for diafol
0
145
Member Avatar for Mi-Dia

I am making a forum script, this part is basically parsing the html for the categories then the html for the rows inside. For some reason the forums repeat themsleves and I have tried everything to clear the values incudling $forum = ''; and unset($forum); but nothing is working, and …

Member Avatar for Mi-Dia
0
64
Member Avatar for greatmind

Hello there, i am very new in this community and i am very much interested in developming web pages with php but i am having trouble using all the php features. I am currently usig windows vista. what version of wamp sever do i need toinstall on my system? Please …

Member Avatar for lagspike
0
102
Member Avatar for maheshshinde

give me complete code to see content of table and after tat edit data everytime diff an update it in same table of database

Member Avatar for lagspike
0
106
Member Avatar for xuexue

could you help me to make a basic css which is applicable for the autocomplete in php? tnx..^^

Member Avatar for diafol
-2
97
Member Avatar for kamotekid08

Hi there somebody pls help me with this..how to create a registration using php while the data is stored on the notepad..pls help me..Php disaster my brain..

Member Avatar for lagspike
0
87
Member Avatar for DealthRune
Member Avatar for hmhb.in
Member Avatar for Shanti C
0
115
Member Avatar for sainigks

Hello Dear all, i have created a html page to insert data in sql table. my html page have date , month and year columns. which is stored in sql table in their respective columns. now i want to retrieve data from sql table in a php page. but i …

Member Avatar for benjaminFowl87
0
123

The End.