39,316 Topics

Member Avatar for
Member Avatar for valonesal

We are wondering how we would add parameters to the following script so that each section can be called separately. [CODE]<?php // This is the content we want to display $data = <<<EOT <div class="topbar"> My Text goes here </div> EOT; // Output JavaScript code to write the data printf('document.write(unescape("%s"));', …

Member Avatar for almostbob
-1
251
Member Avatar for digtokiller

Hello im looking for some kinda code, you are paying for something on this page, then when you are done you come to another page. thats not the problem, it come now. this page you come to, it should only be able to open if you come from the paying …

Member Avatar for digtokiller
0
135
Member Avatar for MDanz

how do i do a hyperlink to last page? this is a page url.. e.g. [url]http://www.ufaffd.com/topic.php?id=44?topic=&page=2[/url] how do i do a hyperlink to last page not specific page..

Member Avatar for smvec
0
58
Member Avatar for Ghodmode

Is there a way to act directly on an array value returned from a function without assigning it to another variable first? For example, if I just want the third value in a CSV record, I might like to do it like this: [code]$value = preg_split('/,/', "one,two,three,four")[2];[/code] But that doesn't …

Member Avatar for somedude3488
0
153
Member Avatar for AbsoluteCPP

[URL="http://www.daniweb.com/forums/misc-explaincode.html?TB_iframe=true&height=400&width=680"]Code View[/URL] In the linked page u can see that source code is properly formated, how to do that?? I am making my web, i want to know that how can i show the c++ source code on my web with proper format. Q: How to show a formated source …

Member Avatar for codejoust
0
133
Member Avatar for LaurenceJ61

Hi, I'm trying to confirm a Delete action that will remove data from a database. The code is pure php, no jscript etc as I want everything to be server side. My php file shows a form with the current data found for a venue with 1 or more 'rooms' …

Member Avatar for codejoust
0
140
Member Avatar for peck3277

Hi guys, So today I am trying to do something that is probably quite simple. But my head is all over the place and I can barely think straight! Something which is not good for a newb! I'm trying to display some text files on the web. These text files …

Member Avatar for wilch
0
130
Member Avatar for nadnakinam

hai, i have a database file in mysql file extension, anyone help me how to upload the database to server. Thanks

Member Avatar for CFROG
0
42
Member Avatar for ssmeshack

Hai there, I have doing php code for form data to be send to email. But it is showing... [QUOTE]Your message could not be sent at this time. Please try again. [/QUOTE] Here is my code for html form... [CODE] <body> <div id="emailform"> <form action="email-thankyou.php" method="post" name="contactForm" onsubmit="return validateForm(this);"> <p><strong>Name:</strong> …

Member Avatar for Kruptein
0
100
Member Avatar for LogicWeb

I'm trying to use an if conditional inside the skin file for my ipbpro arcade mode. The problem is when I edit and reupload, I get a blank page due to the code I'm using but I'm not sure where I'm messing up. In a regular vb template it looks …

Member Avatar for liamfriel
0
135
Member Avatar for SKANK!!!!!

help. i finally put together a script to upload only .png IMAGE files that are under a certain filesize. BUT. is there any way i can only upload the image if its dimensions are exactly 55x55? heres what i have so far: (i want it always be named avi.png so …

Member Avatar for SKANK!!!!!
0
148
Member Avatar for sanjaypandit

i want to search from the following table attached in zip file, my query is select * from tbl_property where acco_id='1' and count_id='1' and holi_id='1' order by add_date desc but there is a problem, i have various value in holi_id , i want to search , means want to match …

Member Avatar for sanjaypandit
0
76
Member Avatar for ayesha789

I need result which shows all the dates which expire after or within 90 days form now on(current date) but this query also shows results which already expire like it shows 27 sep 2009 which is before current date. I need only those which are expiring from today and with …

Member Avatar for ayesha789
0
94
Member Avatar for Allison2009

Hi, MagneticOne Store Manager for Zen Cart says that they have the option to upload the data feed to update the color, size and quantity in the shopping cart. I tried to update it, I was not sure how to use it. Anyone in this forum has used the "MagneticOne …

0
57
Member Avatar for mrcniceguy

If any one have a script which can grab the yahoo,hotmail and gmail address book,i will appreciate to have it or Any suggestion on how to make me succeed in this. I wantto enable member in my site to import their address book directly from the site. Thankx.

Member Avatar for mrcniceguy
0
340
Member Avatar for ayesha789

Hi, I have inserted time in Database using CURRENT_TIME() and Data type is Time. Now I want to show the Time in AM and PM format. Please guide me. Thanks in advance....

Member Avatar for mick_sp
0
4K
Member Avatar for Mapper99

Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [code] <users> <user> <fullname>PC1</fullname> <flooor>4</floor </user> <user> <fullname>PC2</fullname> <flooor>3</floor </user> </users> [/code] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; …

Member Avatar for Mapper99
0
237
Member Avatar for ayesha789

Hi, I am developing a Lease Management System, and I need to upload multiple files in a folder. and I want to name the folder where I want to upload in DB. Here is a code for upload a single file. first file is sendfile.php [CODE=php]<!-- The data encoding type, …

Member Avatar for ayesha789
0
351
Member Avatar for JayGeePee

I've been getting spammed by a Robot alot here lately... When a member signs up there required to fill in all of the blanks(username, name, email, etc.). I want to make it where certain characters cant be used in this area(such as < / " etc.) I also want to …

Member Avatar for Stefano Mtangoo
0
132
Member Avatar for Stefano Mtangoo

Hi All, I'm trying to make simple CMS and can populate my HTML (generated by TinyMCE editor) to my database. I can retrieve them as well. Now I want to add image support to My editor. What are the tricks necessary? Thanks a lot :)

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for mark2326l

As the title says I want to have a text field appear using the if statement. My simplest attempt.... [CODE] <?php if($row_Recordset1['NoPages_A'] { echo<input type="text" name="firstM" id="firstM" />;} ?> [/CODE]

Member Avatar for mark2326l
0
125
Member Avatar for sereleg

Hello guys am new with PHP. Would some one help me with the code below am getting: ERROR: Parse error: parse error in C:\webdev\Apache\Apache2\htdocs\oscommerce-2.2rc2a\catalog\product_reviews_video.php on line 2 CODE: [code=php]<?php define('NAvb script:popupWindow(\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . …

Member Avatar for edwinhermann
0
52
Member Avatar for andym67

Hi all, Pretty new to PHP and I am trying to get a handle on securing a form fields data. For example, I have a simple form where user enters information into a field called mydata. The field must be able to contain multiple words and basic punctuation. What I …

Member Avatar for ShawnCplus
0
167
Member Avatar for _webdesign_

Hello , I have a question i use php meldoy , and i have alread a user list in myql how can i fix the usere lis????

0
41
Member Avatar for rajeesh_rsn

Hai, I am developing a web application for a video store. They need to publish their tailors through their web site. I have to develop a PHP application to upload video file. I did it and working fine with PHP and Flash. But it works only in the case of …

Member Avatar for diafol
0
90
Member Avatar for Roebuc

can someone tell me what is wrong with the following: [CODE]function connect($db_host,$db_database,$db_user,$db_pass){ global $db_connection; try { $db_connection = mysql_connect($DB_HOST,$db_user,$db_pass, true); if(!$db_connection) { throw new Exception('MYQSL Connection Database Error: ' . mysql_error()); } else { $connection = true; } catch (Exception $e) { echo $e->GetMessage(); } }[/CODE] I receive: Parse error: …

Member Avatar for Roebuc
0
2K
Member Avatar for nadnakinam

hi 2 all, i'm very new to this php world... if any1 can solve my prblm, help me...! an image was successfully uploaded in desiered DIRECTORY in server... i wish to resize the images which uploaded image... i couldnt found php code to do RESIZE... Thnx in advance...

Member Avatar for andym67
0
73
Member Avatar for coolmind259

HI, I have embedded youtube code in my site for youtube videos. I am using the url to display youtube video. The problem is that the video is not displayed after I gave the Youtube URL, but i see the blank screen instead of video. anybody has any idea what …

0
57
Member Avatar for arunajasmine

Hi, i am trying to use the pagination concept in Cakephp for my application .. [CODE]$allreports=$this->paginate('Report',array('Report.user_id'=>$userId));[/CODE] i am trying to have a group condition in the above query like 'group'=>array("Report.report_id") .. i m not awarre of giving that in this paginate.. where in [CODE] var $paginate = array( 'limit' => …

0
96
Member Avatar for amarbir

I have a word file containing questions and those questions also contains images. I want to save all those question images in a separate folder in a sequential order even also same images and replace them one by one with a text in sequential order. So please tell me how …

0
35

The End.