39,316 Topics

Member Avatar for
Member Avatar for cssweb

hello how are you guys i am a new member here and want your assist and this is the first topic for me the question is how can i use <ol><li></li></ol> in while as this <table width='100%' border='1'> while ($row=mysql_fetch_object){ echo " <tr> <td>$row->name</td> /tr>"; } </table> i want to …

Member Avatar for cereal
0
127
Member Avatar for sidd.

Hi team, I have a index.html file and a login php plugins([Click Here](http://tutorialzine.com/2009/10/cool-login-system-php-jquery/.) But am not sure how to include it in Index.html script. May the question is very silly. But,I just started learning about web development. I know the basics but practical wise no experience. Please advice the steps. …

Member Avatar for sidd.
0
253
Member Avatar for mmcdonald

In a SQL field I have this: GroupManager 2.0 (2.9.3) (Phoenix)<br/>MultiInv 3.1.3<br/>Ptweaks 4.2<br/>WorldEdit 1232-0bc9369 Which spits out this: GroupManager 2.0 (2.9.3) (Phoenix) MultiInv 3.1.3 Ptweaks 4.2 WorldEdit 1232-0bc9369 Multiverse-NetherPortals 2.4-b530 How can I make it so it's two text columns like this when I echo it onto a page: GroupManager …

Member Avatar for LastMitch
0
115
Member Avatar for Riu 2009

Hi everyone, just wanted to know what type should i use in mysql database to store the urls (for linking purposes) of videos(from youtube,vimeo) and slides (from slideshare)...i just want to store the urls not the whole video..for tht i wud use directory/ file functions.. please help... helpful comments will …

Member Avatar for Riu 2009
0
232
Member Avatar for rotten69

Hey everyone, I'm just wondering how the read more feature is achieved in PHP. It is like facebook where it displays a couple of lines then if you're interested in reading more about the status or article click 'read more link' which expands the box. Cheers,

Member Avatar for JorgeM
0
144
Member Avatar for code739

hi fellas, Im using javascript framework in uploading image via ajax but the problem is $_FILE is empty here s my code: <form action="upload.php" method="post" enctype="multipart/form-data" id="upload" name="upload"> <input type="file" name="file" id="file" style="border:none"/></center> </form> js var url = 'upload.php'; new Ajax.Request(url, { method: 'post', contentType: 'multipart/form-data', encoding: 'UTF-8', parameters: $('upload').serialize(true), …

Member Avatar for LastMitch
0
152
Member Avatar for garyjohnson

What is the PHP extension to connect to mysql? I have installed them using wamp sever and they are not connecting because they dont have the extensions, where can I get the extension?

Member Avatar for LastMitch
0
144
Member Avatar for mmcdonald

$plugins = $Server->Get('plugins'); echo "<br /><br /><b>Plugins</b><br> "; foreach($plugins as $plugin) { echo $plugin."<br>"; } That snippet above spits out a long list of plugins from a server. How can I store each plugin listed into SQL so that its stored as '$plugin[0]<br/>$plugin[1]<br/>$plugin[2]<br/>' and so on so that when I …

Member Avatar for mmcdonald
0
142
Member Avatar for mionazraelmiranda

Hi! as you can read in the title. I want to know how to put the website I am making online. I'm pretty clueless and do not know what to do. I use `wampserver (WAMP5)`, apache version is `2.2.4 (Win32)` and MYSQL. What are the things I should need or …

Member Avatar for chrishea
0
157
Member Avatar for sasibuddy
Member Avatar for pritaeas
0
22
Member Avatar for mo_anees
Member Avatar for divyakrishnan

Hi,, Is it possible to get IP of server where the script is running. I used following code <?php echo $ip=$_SERVER['REMOTE_ADDR']; echo $_SERVER['SERVER_ADDR']; ?> But it outputing as "127.0.0.1". Is there any way to print IP ?

Member Avatar for pritaeas
0
198
Member Avatar for mano7859

Hi :) I got a problem with 2 foreach. When i execute it the result repeats X times. This is my code: $tab1=array('name','firstname','age'); $exceptions=array('hide','submitForm'); $test=''; foreach($tab1 as $val){ $test.=$val.'='; foreach($_POST as $key=>$value){ if(!in_array($key,$exceptions)){ $test.=$value.','; } } } echo $test; This is the result obtained: name=Smith,John,30,firstname=Smith,John,30,age=Smith,John,30, I would like to obtain …

Member Avatar for LastMitch
0
151
Member Avatar for HelloJarvis

Hi all, I have a PHP script that takes a string and lists all its permutations, but ONLY based on its length. So for instance, let's just say we had the word "racecar". Yes, it would list all permutations of the 7-character word "racecar" such as "acrerac", etc. but NOT …

Member Avatar for LastMitch
0
298
Member Avatar for code739

hi fellas, need some brilliant idea, i want to get the firstname,lastname,middlename of the employee below using javascript. ________________________ Atty.Jan Rex Camvarijan Rex Uy Cambarijan Rex Cambarijan Rex Ma.Rex B. Cambarijan ||| Rex del Rosario __________________________ what i really want is how could i separate lastname firstname middlename in those …

Member Avatar for code739
0
171
Member Avatar for Qyla21

hi!i need your help.Here are my question. i need to create a folder for that particular user and store the .pdf file inside, means different user for different folders.and inside the folder.i really need full coding.please help me!! :'(

Member Avatar for nuraqilah.ahmadkhairi.7
-1
191
Member Avatar for vanessia_1999

Hi all. I have been working on a action script and finally got it working. I am totally lost of how to write my PHP email codes for when the person press submit all the information they fill in is sent to me via email could someone help me please. …

Member Avatar for LastMitch
0
249
Member Avatar for Jacb

Hi. We had a website designed and it is hosted by Inmotion Hosting. I have an excel spreadsheet that I need customers to view on a web page. There are 10 different spreadsheets what is the easiest way for me to do this? Do I just create a link to …

Member Avatar for LastMitch
0
185
Member Avatar for sethm

Hi - I am working on setting up a calendar from Google. I'm curious. Is it possible to setup the calendar to use the colors I choose with a layout that fits my needs (more of an Agenda than a actual calendar)? I've spent about all day reading about the …

Member Avatar for diafol
0
191
Member Avatar for kischi

Hi I have created a small program that enables the user to upload a phote and get an email back with a watermark on it. Now the watermark is places in the bottom border with no margin, so I was wondering if anyone knew how I could make a small …

Member Avatar for Squidge
0
318
Member Avatar for ssfox

Hello, I'm designing my own website, I want to create online assignment submission system which allows to students to upload their assignment through this webpage,and receive feedback immediately via the browser.The teacher can recieve student documents and grade the student for his assignment. Since Im working on my localhost(XAMMP), let …

Member Avatar for ssfox
0
714
Member Avatar for muhammad.waleed.9699

there is some problem fetching data from csv file to database: code, database,csv data and error image is attached please mention the problem. thanks in advance :-) php code: <?php /********************************/ /* Code at http://legend.ws/blog/tips-tricks/csv-php-mysql-import/ /* Edit the entries below to reflect the appropriate values /********************************/ $databasehost = "localhost:3307"; $databasename …

Member Avatar for Squidge
0
305
Member Avatar for smitty1140

I have a url that includes %25 (/CHIPDRIVE%25AE-micro-pro-SCR335_detail_8_196.html) and I am trying to use a Redirect to redirect it to the new URL. Currently using a Redirect 301 and it is currently not working.

Member Avatar for smitty1140
0
231
Member Avatar for johndohmen1963

Hi hope someone can help I have an array with daynames in dutch but when i use the day zondag it is not workin and i don't know why Can someone help me to make it work here is the code if($row3['geboortedatum']!= "0000-00-00") { $rss = $row3['geboortedatum']; $dayNames = array( …

Member Avatar for johndohmen1963
0
157
Member Avatar for mionazraelmiranda

hi! I'm pretty new to php and i just want to ask how to update tables in mysql using php? here's my code snippet $product_code = $_POST['pCode']; $submit = $_POST['submit']; $user = $_SESSION['username']; $quantity = $_POST['quantity']; $price = 300.00; $date = date("Y-m-d",mktime()); require('connect.php'); if($submit) { if($product_code) { mysql_query("INSERT INTO `order` …

Member Avatar for mionazraelmiranda
0
174
Member Avatar for soapyillusion

Hello all, Im trying to do this tutorial on cakePHP website for 1.3 It asks me to use the cake bake function to automically create models based on the tables I made. (using .cake bake all) The bake functionality it self works great, but it presents one problem. cakePHP creates …

Member Avatar for petr.pavel
0
88
Member Avatar for daniel36

I am working on a project in which video streaming is required .In this project i used flowplayer.Is it possible in flow player to hide the video url? I am also needed to view pdf files in iframe.In it,is it possible to hide url of pdf file?

Member Avatar for daniel36
0
416
Member Avatar for pritaeas

# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that …

39
7K
Member Avatar for dean.ong.14

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in G:\xampp\htdocs\Thorndon.php on line 57 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, …

Member Avatar for jwer
0
91
Member Avatar for rotten69

Hey everyone, I'm using sessions in my application which retrieves the questions and answers asked by users. The tricky part here is how I can know how to allow users that they can edit and delete their own posts. As far as it is concerned, I have got this idea …

Member Avatar for broj1
0
175

The End.