39,326 Topics

Member Avatar for
Member Avatar for mtho

Hi guys I'm just starting to built dynamic php site but while testing (pasted url/embed) videos from youtube I get this error. 403 Forbidden Access to this resource on the server is denied! I use a form to post to the database. It works for everything else except embedded video …

Member Avatar for mtho
0
446
Member Avatar for diafol

Hi all, just walked into a door with a problem I recently helped out with. I was testing whether a value was a positive power of 10 (1,10,100 ...) -> (0,1,2 ...). So I thought I'd use log10(). Now I know that log10() returns a float type. But testing this: …

Member Avatar for diafol
0
76
Member Avatar for kn3rdmeister

[kn3rdmeister.com/feed/](http://kn3rdmeister.com/feed/) I'm going to admit that when I made my website and feed, I was very much copying the styles and structures of [mega64.com](http://mega64.com), especially the way their RSS feed was built. I know that it's made by WordPress, and not Mega64 themselves, but still, it's their feed. I'm a …

Member Avatar for kn3rdmeister
0
270
Member Avatar for nathan.mackinnon1

Hi, I am having a bit of trouble with a login scritp I have written. I have a script setting some cookies (so i know when the user is logged in) and on my other pages i use a scrip to see if they are logged in, If they are …

Member Avatar for Biiim
0
316
Member Avatar for rajilakshmi

In PHP using isset() function for checking the form value is set or not? Like wise which methed is used in java? Any one can help ASAP..?

Member Avatar for JamesCherrill
0
2K
Member Avatar for Khav

P.S i know title sucks but i couldn't think of an appropriate title to explain this:( Well i tried to think over this matter for days but couldn't found the logic of how it is done, so i guess only you guys can help me understand this some of you …

Member Avatar for Khav
0
321
Member Avatar for David2012

Hi! Just wanted to know if there is any special syntax to get values in <option> with a space between words. For example: <form action="abc.php" method="post"> <select name="study_class"> <option value="Class 1">CLASS 1</option> <option value="Class 2">CLASS 2</option> </select> </form> Can php recognize "Class 1" or "Class 2" or will it recognize …

Member Avatar for David2012
0
195
Member Avatar for David2012

I would like to know how to avoid the OUTPUT of var_dump($abc); from showing in the output screen and instead use it to feed a variable. Well, I am trying to put the output of `<form><select name="study_Class"><option value="word1 (space) word2">word1 word2</option></form>` into php program as an array as shown below …

Member Avatar for David2012
0
266
Member Avatar for rjony321

Hi, I am new in web design.So,I need your help. Because i build my carrer as a web developer. please visit this site: http://www.webdo.x10.mx/index.php please go catagory link and i want my *header section*, *Add purpose section* and *footer section* in catagory page just look like home page with *content* …

Member Avatar for niranga
0
212
Member Avatar for awebster

Here is the php code that I have. I am trying to take the average of the array and then take the avearge and the display numbers from the array that are less then the average using a foreach loop then an if statement inside the foreach loop. <?php $total …

Member Avatar for cereal
0
129
Member Avatar for Djmann1013

Hi, I am trying to make a sound play on a keypress in php. I want it to sound when the user presses the enter button. But I have been having no luck with JavaScript, among others. I would be glad if you helped. Thanks.

Member Avatar for Djmann1013
0
225
Member Avatar for JackPaddyWack

Here are my two pages I am using to edit. One is the HTML form and the next is the code to insert the changes. I have looked overthis code for a few hours and have not seen anything wrong. I hope it is not something super simple or I …

Member Avatar for JackPaddyWack
0
140
Member Avatar for stupid guy

hi all! lame programmer here again.Please explain this thing..seems like it has truth table and stuf.anding oring etc..plz explain how this will execute.need simple explanation so i wont forget throughout my life..:D if (!(mysql_query($sql,$con)) || !(mysql_query($sql_pin,$con))) { if(mysql_errno()==1062) { $error_flag=1; echo mysql_error(); echo "error no:".mysql_errno(); die("error:".mysql_errno()); } $error_flag=1; } else …

Member Avatar for soapyillusion
0
350
Member Avatar for CarterLangley

Hi all, I realise that this has been asked probably many times. I have searched but have not been able to find the relative answer - most likely not searching properly?? Anyway, what I would like to do is to display multiple images relating to one topic, ie. One member …

Member Avatar for CarterLangley
0
312
Member Avatar for razamughal67

Hello everyone we search many days to create a php mail contact form in flash 8 and after all we cannot make this Acually we want to add more fields in my flash contact form please anybody help How to more fields we use this Action Scripts in Flash and …

Member Avatar for pritaeas
0
188
Member Avatar for gurusubramaniam

Hi... I want to use the multiple interpreter (like #!/bin/bash and #!/usr/bin/php) in a single shellscript. Is it Possible?

Member Avatar for cereal
0
91
Member Avatar for maoneke

Hello all, Can someone kindly help me with a code to automatically archive data by month-end and year-end.

Member Avatar for pritaeas
0
67
Member Avatar for azegurb

Hi All, I have code that dynamically retrieves data with jquery AJAX. when i want to insert data into database via PHP **$_POST** method it cannot grab `select tag` (option) value in Mozilla and Chrome. But it works perfectly in IE. Below is my code. <?php if($_GET['func'] == "drop_1" && …

Member Avatar for Biiim
0
183
Member Avatar for Sanchixx

<html> <body> <?php $i=1; echo"$i"; if(up) ++$i; ?> </body> How can i add one to $i when a button is clicked?

Member Avatar for Biiim
0
195
Member Avatar for iamnot

I need to store both text and images to be stored in the same field? How can this be implemented in php using a mysql database? I have used BLOB to store images in the past . Which datatype should I use for this problem? And how will this work...? …

Member Avatar for smantscheff
0
190
Member Avatar for laura301019

So i need to create a php table that will take the age of the user (entered via a form) it will then show double the age and half the age. The rows should display the user's age +10 +20 etc. I'm new to php so trying to get my …

Member Avatar for Biiim
0
152
Member Avatar for wrstrong

Hello everyone! I'm have a text file's contents, its output in the browser and a php file (which I'm including below.) What I need to do is search for a specific line in the text file and delete it. The problem is that the end result will have a text …

Member Avatar for sifatjnu
0
2K
Member Avatar for <M/>

I am trying to use a modulo to make all even numbers replaced with a star and all odds replaced with a percent sign... this is my code: <?php $x=0; $min=900; $max=2000; // initialize array of random values $random_array = array(); // initialize temporary array for sorting $temp_array = array(); …

Member Avatar for <M/>
0
115
Member Avatar for <M/>

Dear DANIWEB community members, I have a question about sorting a label, and I've tried so hard in figureing it out but I realized that I am doing something wrong but not sure what... What I am doing is sorting the numbers, which is created by the loop, that populate …

Member Avatar for broj1
0
139
Member Avatar for IJudgeyI

Hello Everyone, I am trying to pull some info from a MySQL database. The problem is that, for every four rows that are fetched, I need to add a div tage before and after, so here is an example of what I want: This is the static way I have …

Member Avatar for IJudgeyI
0
124
Member Avatar for rjony321
Member Avatar for mlm2gether
0
353
Member Avatar for mrhankey

hi, i am looking at using a html5 script that helps draw on a canvas, how can i then save this to my database in a blob to then be shown again on the page at a later date? the code is: function RoSave(frm) { var strImageData = canvas.toDataURL(); $.ajax({ …

Member Avatar for glenn2407
0
169
Member Avatar for kchu3838

I AM INTERESTED TO FIND OUT IF PHP CAN BE USED TO SET UP A POS SYSTEM? IF POSSIBLE, HOW?

Member Avatar for kchu3838
0
277
Member Avatar for jfunchio

I have this rather large form that I need to grab all the user input from and email it. My problem is there are a mixture of normal feilds and then parts of the form are set up in tables. I'm not sure how to go about naming each of …

Member Avatar for diafol
0
186
Member Avatar for reggie.dipo

Hi, I'm new to php and i'm trying to build simple database and I having a problem with getting id value with $_GET here is snippet of my code: $id = (int)$_GET['id']; echo $id; if(isset($_POST['upd'])){ $sql = "UPDATE dvds SET title = ?, folder = ?, spot = ? WHERE …

Member Avatar for broj1
0
108

The End.