39,326 Topics

Member Avatar for
Member Avatar for Awah Mohamed

hey people. i am trying to build a synamic page that updates its contents dynamically without using javascript. a friend of mine sugested me web sockets. and when i checked it it was awsome. now i can build a web socket that can be accessed from command prompt. now my …

Member Avatar for digital-ether
0
77
Member Avatar for MKWeb

I have a form that contains multiple dropdowns that are dynamically populated using AJAX not CSS, dependent upon the form above it. The page works fine in FF and Safari, but when I try it in IE, the first dropdown is populated, but the others remain greyed out. Here is …

0
79
Member Avatar for bibiki

hey there, I have the following piece of PHP code to retrieve a list of files on a directory, and then build links to each file: [CODE] <?php $dir=""; // Directory where files are stored if ($dir_list = opendir($dir)){ while(($filename = readdir($dir_list)) !== false){ ?> <li><a href="<?php echo $filename; ?>"><?php …

Member Avatar for bibiki
0
342
Member Avatar for klemme

I was adding a link to make it poosible to delete a page on a site, which is not yet published. the link looks like this, with the processing below it: [CODE] <?php // The Link echo '<a href=\"process_delete_page.php?pid=' . $id . '">Slet siden her!</a>'; // Processing the request $id …

Member Avatar for klemme
0
220
Member Avatar for Macko888

Hi Everyone, Just a basic Conn function i would like to share with the community. Any constructive criticism and tweaks are very welcome, im trying to optimize my entire code library, starting with the basics. [CODE]<?php funtion dbconn(){ $db = "database_name" //<-- name of database being connected to $server = …

Member Avatar for diafol
0
74
Member Avatar for showman13

Good Morning All, I have a query I need to do, but haven't been able to get it clear in my mind how to structure it... I have two tables 'members' and 'subs_track' they are linked by the 'mem_id' field in both There is a single record for each member …

Member Avatar for showman13
0
112
Member Avatar for masocha

l am trying to send individual emails with a loop using php mailer in joomla. However when l generate the emails l get something like 12 emails to one email address even if the loop is only 2 in size So its something like foreach($res as $r) { //send email …

Member Avatar for vibhaJ
0
79
Member Avatar for happytogether

Can somebody help me please? i try to generate an xls(excel) file using this code, all format work fine except the cell size(width). can anyone help me how to format the cell width? [code] </php . . . $workbook = new Spreadsheet_Excel_Writer(); $format_und =& $workbook->addFormat(); $format_und->setBottom(1);//thick $format_und->setAlign('center'); $format_und->setHAlign('equal_space'); $format_und->setBold(); $format_und->setVAlign('vcentre'); …

Member Avatar for happytogether
0
867
Member Avatar for branding4you

I have php mailer that works on the server and sends newsletters out to clients. I wnat it to send me read receipts (I know that some users will select dont send read receipt)and delivery receipts. I tried this: [CODE] $mail_body = ''. $news . ''; $subject = "My Newsletter"; …

0
61
Member Avatar for Rajicet

Hi, I want to convert an XML containing images into Excel sheet. But it is displaying only image path, not image. How to display the image in Excel... ?? Can i use base64 encoding and decoding for this ? Please help...

Member Avatar for Rajicet
0
128
Member Avatar for vishalpala

if user type wrong id and password so one message display and how can i remove alert message on refresh on log in page

Member Avatar for karthik_ppts
0
70
Member Avatar for reygcalantaol

I am developing google search application using google search API. I am almost done with it but I have one problem which I am hardly find the solution over the net. My problem is to get the cache date (a date where google last crawled the site). I will be …

0
72
Member Avatar for diafol

This is a CSS/HTML issue, not php. Your php is suspect: Line 15. No need for all the tables? How about one table? Do you really need a table anyway? Why not use <h3> for name, <p> or <div> for content? Any reason why you'r using mysql_result? This tends to …

Member Avatar for vibhaJ
1
85
Member Avatar for programmer12

Hi, Can someone help me with writing the script to be able to pull the information from the database without refreshing everytime something new has been added? My codes at the moment read: [CODE]$recentupdates = mysql_query("SELECT * FROM status NATURAL JOIN users WHERE user_id = users.id ORDER BY status_id DESC …

Member Avatar for programmer12
0
126
Member Avatar for dalip_007

Hi guys I run a site like twitpic.com for twitter , and what I want is when someone post picture on my site then it get shown up on twitter time line just like pics from twitpic, plixi and yfrog are shown, Any one have idea of how to do …

Member Avatar for dalip_007
0
66
Member Avatar for ebanbury

Hi I am hoping someone can give me some advice. I have a user_registration table with the field 'ID' as the user ID field. I have another file (property_details) which is for users to insert their own records. What I need to do is to automatically assign their ID from …

Member Avatar for ebanbury
0
194
Member Avatar for designalex

Hi, its me again.:scared: im using the following code to destroy my session but instead of removing the session, it just empties the data, for e.g: when i start the session a file is created, after storing my data in the session the file could be 2 or 3 kb …

Member Avatar for SRocks
0
205
Member Avatar for tyop

This is something that worked a few months ago and now I don't know what I messed up when I made the mistake of trying to migrate it to a new host. It's nothing but a registration and login module and I'm trying to have a tight focus on security …

Member Avatar for tyop
0
3K
Member Avatar for erza26

hi....i have some problem here...i'm making a form for ordering...what i want is when user click on form ordering button, there will be a form with reference number echo from database..in database i set the reference number as primary key and auto increment..somebody can help me to solve this problem??

Member Avatar for diafol
0
119
Member Avatar for arshadshaikh

Hi every one. Can i convert dwg file to pdf using php? OR Is there any PHP API or web service that provides service to convert dwg file to pdf file?

Member Avatar for arshadshaikh
0
561
Member Avatar for Amr87

Hello Everybody I`m using shared server on HostMonster that runs PHP 5.2.17 , and I want to upgrade to the latest version 5.3.6 which I downloaded from PHP.net as tar.gz2 extension first is that possible to replace the version with the newer one? and if so How ??

Member Avatar for chrishea
0
46
Member Avatar for theighost

Hi, I have this strange problem, I select some data from the database, there is no problem in the query and even when I use mysql_num_rows on the query it gives me the right number of entries in the table I'm selecting from, but when I try to echo every …

Member Avatar for pritaeas
0
4K
Member Avatar for Gel

i wanna enter a value passed by javascript function to the database. is there a way to do that? thanks. var eng = 0; var nothome = 0; var nointerest = 0; var callback = 0; var booked = 0; function myFunction(i,txt, elemid){ var plural; if (i != 1) plural …

Member Avatar for diafol
0
216
Member Avatar for RazorRamon

I'm trying to code a site similar to the coding on the bottom. I need help though I'm not sure if functions for php can work this way. I want to be able to use the function greeting in many different if else statements. How can i do this without …

Member Avatar for twiss
0
304
Member Avatar for karthik_ppts

Hi Frendz, I have placed my custom marker on google map in my application. But it displays default marker. Whats going wrong with this code? [CODE=javascript] var icon = new GIcon(); icon.iconAnchor = new GPoint(6, 20); icon.infoWindowAnchor = new GPoint(5, 1); icon.image = 'images/car_blue.png'; var marker = new GMarker(point, icon); …

Member Avatar for karthik_ppts
0
294
Member Avatar for cliffcc

I have do mysql query, i want to export the result data form mysql in term of csv files. What is the code in php? Thanks!

Member Avatar for vibhaJ
0
172
Member Avatar for davy_yg

Can anyone help me ? What might be the problem ? Parse error: syntax error, unexpected '>', expecting T_STRING or T_VARIABLE or '$' in C:\AppServ\www\wordpress\wp-content\themes\platform\footer.php on line 36 .. [CODE]<?php /* FOOTER This file controls the ending HTML </body></html> and common graphical elements in your site footer. You can control …

Member Avatar for Insensus
0
248
Member Avatar for rpjd

A user submits values in a form. On the action page I want to check if there is a table on the page whose id matches any values submitted via $_POST. I've seen examples using file_get_html(), but this it not listed as a function on php function list. What is/are …

Member Avatar for vibhaJ
0
70
Member Avatar for Viruthagiri

Ok guys, I'm going to start a user generated content site using wordpress. Please suggest me a wordpress plugin. Here are the features i need. Registration/Login User content submit form upon login. User can post the content. A moderator have to approve the content. Once published disable the edit option …

0
59
Member Avatar for Sorcher

Hello! i didnt know where to put this post but i know the PHP section is stuffed with cyber animals who loves to help ;) I need to find a web host that does not police the file copyrights, that allows flash stream from website. I am not interested in …

Member Avatar for Wraithmanilian
0
140

The End.