39,326 Topics

Member Avatar for
Member Avatar for davidjennings

Hi All I am trying to format the sql ouput reg_date into a date format current details echoed out 2013 - 03 - 08 12:12:11 I just require the date only echo stripslashes($row['reg_date']) $result = $mysqli->query($query) or die ($mysqli->error.__LINE__); if($result->num_rows > 0) { while($row = $result->fetch_assoc()) { echo stripslashes($row['reg_date']) . …

Member Avatar for davidjennings
0
213
Member Avatar for wplay

Hi all, I have been getting ImagickException with imagick on my server but cannot reproduce it on my computer(localhost). This is when I try to call thumbnailImage(with, height, true) for a JPG exception 'ImagickException' with message 'Memory allocation failed `/tmp/funYYmdPl[0]' @ cache.c/AcquireCacheNexusPixels/416' This is when I call writeImages(path, true) for …

Member Avatar for LastMitch
0
1K
Member Avatar for Fiorentino01^

Hi, I am working on an hotel booking system for a small hotel.I finally found a nice tutorial on HTML.it.It is in Italian but that's not a problem for me as Italian is my mother tongue.The site consists of the usual tables like clients, reservations, etc.I ran all the scripts …

Member Avatar for diafol
0
566
Member Avatar for jLamp

when include file to dreamweaver i cant edit anything in design view. <?php require('header.php');?> What should i do?

Member Avatar for minitauros
0
112
Member Avatar for riahc3

I currently have $tableName="thenameofthetable"; $someid=$_GET["someidthruget"]; $result = mysql_query("SELECT name,age FROM ". $tableName. " WHERE idp=". $someid); Which looks really insecure. How can I do it using a stored procedure which I think will make it a lot more secure? Thanks

Member Avatar for riahc3
0
640
Member Avatar for weeraa

I want to pass a combo box value from url in php. I have no idea how to do it. I just try like this. This my combo box html code. <select id="ID1" name="place" > <option value="Colombo" selected="selected">Colombo</option> <option value="Matara">Matara</option> <option value="Galle">Galle</option> </select> //What i want is pass selected value …

Member Avatar for minitauros
0
2K
Member Avatar for xianamersu

Why does this code snippet keep getting Undefined offset: 2, Undefined offset: 7, Undefined offset: 11, respectively? I'm not sure where I'm going wrong, for($i = 0; $i < $user_length; $i++) // CHECKS IF THE USERNAME, FIRST NAME, IC NUMBER AND CONTACT NUMBER IS ALREADY BEEN REGISTERED AS A MEMBER …

Member Avatar for diafol
0
578
Member Avatar for rolanduk

Hy All I have another problem. When somebody going to my download link [Click Here](http://www.filemonster.org/download.php?id=11) a window pop up to download the file called get.php. I dont want that to appear. Because its not the file which is under the "regulr downlod button" . The get.php its the file which …

Member Avatar for cigoL..:)
0
408
Member Avatar for BuckOneArm

Hi, I was wondering if there is a possibiity that you can put a PHP form into a Jquery Accordion. SO when you slide it open and close a new form appears? If there is can sombody point me in the direction of a tutorial or article explaining this.

Member Avatar for wiselisle
0
94
Member Avatar for sthakre624

Please tell me what is the use of datafeed in price comparision script.and how can i use it.is data feed compolsury in price comparision script

Member Avatar for LastMitch
0
41
Member Avatar for mohammed.ismail

What does the PHP error ‘Parse error in PHP – unexpected T_variable at line x’ means?

Member Avatar for cigoL..:)
0
239
Member Avatar for mark2326l

I have a MySQL DB with 2 Tables in particular, "Properties" and "Tenants". Each Table has a unique address Field "propAddress" & "TenAddress". I have a PHP page with a repeating reigon that lists all properties in the DB. What I'm trying to do is list all the tenants info …

Member Avatar for cigoL..:)
0
228
Member Avatar for aithabuddy

Hi I have an array of format Array ( [1] => Array ( [1] => Array ( [27] => C1 [28] => Y1 ) [2] => Array ( [31] => C2 [32] => Y2 ) [3] => Array ( [34] => C3 [35] => Y3 ) ) [2] => Array …

Member Avatar for diafol
0
162
Member Avatar for xianamersu

How to I check for existing username without using mysql in php? I tried something like this but it isnt working. Please help. Thanks. Strictly no SQL... $name=$nme; $name = file("datatext/users.txt"); $ic=file("datatext/users.txt"); if (this.$nme== $name) { echo "this user exits, please log in"; }

Member Avatar for diafol
0
342
Member Avatar for lloyd.farrell.7

Hi everyone, got really strange issue with a template I have started to build. I am continually getting the follwing error message Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent Even though the only code I have on my page is <?php session_start(); ?> <!DOCTYPE html> …

Member Avatar for minitauros
0
384
Member Avatar for 4fridi

I have script which has search engine to find mp3 songs, i need that if someone search the site with free mp3 songs or mp3 free songs both keywords has free keyword. i have redirected with header(); function through my coding in php but what about previously indexed urls with …

Member Avatar for 4fridi
0
291
Member Avatar for Borzoi

Hi everyone. It's been a while since I've needed help with a PHP problem. Hopefully someone here knows what I'm doing wrong because I can't see it. I am trying to use rename() to rename an image file which is in a subdirectory of a subdirectory the script is running …

Member Avatar for Borzoi
0
217
Member Avatar for mpc123

Hi I am trying to get to download images into a file from database field urls onto my server as there is lots of them. I think im on the right track. I currently have an error Parse error: syntax error, unexpected T_STRING in getimages.php on line 11 Hope someone …

Member Avatar for mpc123
0
142
Member Avatar for wplay

Hi all, I'm currently using imagemagick to resize gifs for my site. But the compression doesn't seem really good. I've already tried optimizing it the best way I could, but it isn't satisfactory. Does anyone have recommendations for a better option? Tumblr's gif compression seems to be the best I've …

Member Avatar for pritaeas
0
271
Member Avatar for rolanduk

Hy All Im here again to ask for you help. I still in the begining to launch the site, and i found a major error. The theory is the following. I planning to start a Pay per download site, which mean the members upload a file and when somebody want …

Member Avatar for rolanduk
0
315
Member Avatar for aqualove

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="icon" type="image/png" href="images/ump-logo.png" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Universiti Malaysia Sabah</title> <link rel="stylesheet" href="jquery.mobile-1.0.min.css" /> <link rel="stylesheet" href="_assets/css/jqm-docs.css"/> <script src="jquery.js"></script> <script src="_assets/js/jqm-docs.js"></script> <script src="jquery.mobile-1.0.min.js"></script> </head> <body> <div data-role="page" class="type-index"> <div data-role="header" data-theme="f"> <h1>Sistem Kompaun Pelajar</h1> <a …

Member Avatar for Webville312
0
183
Member Avatar for bradly.spicer

Hey all, Been trying to work this out. But I'm stumped! Got a database running on Moodle. Want to create an external script which uses the usernames and passwords from the table moodle_user and the db Profiled_Moodle. Here is my page so far: <?php include 'header/config.php';?> <div id="Container"> <?php if …

Member Avatar for bradly.spicer
0
194
Member Avatar for Priti_P

Hello there, Does anyone know about following google calender issue: I had code for google calender invitation. But due to some reson I add patch over there which fetches some extra information and merge in the body of that mail. But what I found is : when I add patch …

Member Avatar for Priti_P
0
165
Member Avatar for muralibobby2015

i just want to add html text to the famous image slider supersized. This is their demo page : [url]http://buildinternet.com/project/supersized/slideshow/3.2/demo.html[/url]. i want to display title for each slider. how to do this? anybody suggestions thanks

Member Avatar for LastMitch
0
275
Member Avatar for joshfizzle

I've noticed there isn't a php forum in the software development section. It would be cool if one could get created.

Member Avatar for joshfizzle
0
72
Member Avatar for varunsara

Guys, please let me know is anybody aware of the below doubt. php taking hosting server date and time but am in need to find the client time and date who accesing the site. otherwise how to find the date & time in server time zone .

Member Avatar for eburlea
0
400
Member Avatar for bobyx

Hello,everybody.I am designing a web site with Joomla v1.5 .And I want to display 10 images which are in .jpg format [1.jpg to 10.jpg] as a slide show on the top of all my web pages,I mean that;those images displayed one after one and repeatedly and automatically. Would you please …

Member Avatar for LastMitch
0
194
Member Avatar for amkaos

Hi: i search as to why my database wont send out emails and find this forum. i find the exact code im using in this forum.. it originally is for xaamp. i need to have it work from my server: http://www.daniweb.com/web-development/php/threads/412468/how-to-send-mail-to-email-address-on-mysql-database. i posted on https://gist.github.com/amkaos/5608094 but i can post code …

Member Avatar for amkaos
0
387
Member Avatar for jonow

Hi, i have a form that when filled out sends and email. I want to be able to validate it, so check that all the fields are filled using PHP. I have found this website: [URL="http://www.phpjabbers.com/phpexample.php?eid=27"]http://www.phpjabbers.com/phpexample.php?eid=27[/URL] that i used to validate it but i am not sure how to combine …

Member Avatar for Squidge
0
1K
Member Avatar for adeeb.keyaam

**Here is my code below:** <?php if(isset($_POST['create'])) { // db connection $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "emanage"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); // prevent mysql injection foreach ($_POST as $key => $value) { $_POST[$key] = mysql_real_escape_string(strip_tags($value)); } …

Member Avatar for Webville312
0
250

The End.