39,393 Topics

Member Avatar for
Member Avatar for jameswoodhouse

Hi there i'm trying to display an image on a webpage. The image's URL is stored in a mysql database. i just want to output the image to the display via PHP. Any ideas? Thanks

Member Avatar for Designer_101
0
105
Member Avatar for jyotiu

[CODE]<div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: left; margin-left: 10px;">Link <a rel="nofollow" style="color: rgb(0, 0, 221); text-decoration: underline;" target="_blank" href="[COLOR="Red"]http://www.zshare.net/video/58502819262e0ecc/[/COLOR]">[COLOR="Red"]1[/COLOR]</a> </div><div style="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845')"><img title="Report Dead Link" src="http://img.movies-on-demand.tv/templates/mod/images/broken.gif"></a></div></div><div style="margin-top: 2px; width: 550px; height: 20px; background-color: rgb(255, 255, 255); font-size: 13px;"><div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: …

Member Avatar for martin5211
0
133
Member Avatar for The Midnighter

I'm trying to create a form that updates a MySQL record when the user clicks a LINK, not a button. I don't want to open another page for this. There really isn't a need for me to post my code right now, as I'm trying to figure out how to …

Member Avatar for Designer_101
0
129
Member Avatar for cyberbaffled

The dll is in the directory specified in the apache2.2 configuration file. Yet restarting the apache server generates this error message: "httpd.exe : syntax error on line 128 of C:/Program Files/Apache Software Foundation/Apache2.2…/conf/httpd.conf : Cannot load c:/php5/php5apache2.dll into server. The specified module cannot be found." Any thoughts on why it …

Member Avatar for Designer_101
0
207
Member Avatar for hemlii

I basically need an ajax function which helps me by fetching a next record in the form which pops up dynamically on every edit click.. plz plz do help out guyss... Thanks and Regards, Hemlii...

0
48
Member Avatar for szita1

hi I started using NuSphere but when the php code runs, I keep getting messages "Strict Standards: blabla...". What should I set to get rid of the messages? Thanks

Member Avatar for pritaeas
0
33
Member Avatar for Vai

Using this code: [code] $query = "select * from `music` WHERE `music`.`catid` = '" . $catid . "'"; I cannot seem to add "ORDER BY artist so that it would be in alphabetical order. [/code] Second issue: What do I need to do to have Display X amount of records, …

Member Avatar for somedude3488
0
109
Member Avatar for rajeesh_rsn

Hai I had a search script in my web page. There are two inputs 1. Type 2. Location ( list with values --> Any,India,China) And location is not mandatory for search. When user submit search in database and show results. my query is like this [code]"SELECT * from dbname where …

Member Avatar for JRSofty
0
75
Member Avatar for shadiadiph

how do i find out the row size in kb? is it possible to automatically insert the size I have a mail table and have the field is there a way of automatically creating the value on insert by resetting the values of the field?? [code]`messagesize` int(255) NOT NULL default …

Member Avatar for shadiadiph
0
136
Member Avatar for justinmyoung

I'm working on implementing a php registration/login script. When a user registers and then login - they are directed to a page that I would like to display a form, such as you would see in a contest. The person would fill out the form, entering the information into the …

Member Avatar for rm_daniweb
0
3K
Member Avatar for Tekkno

I am new to PHP. I have a MySQL database with a column of URL's. I have a PHP script that randomizes the URL's and echoes the result to the browser. I just need a need a way to turn the randomized URL into a clickable link. I would imagine …

Member Avatar for Tekkno
0
2K
Member Avatar for nschessnerd

Hey, I want to integrate a phpbb login with my site so i added the following code: [code]<?php define('IN_PHPBB', true); $phpbb_root_path = "../forum/"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); include($phpbb_root_path . 'includes/bbcode.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); ?>[/code] …

0
59
Member Avatar for mrcniceguy

i have a script which i`m using in ma site,for friends system. that if somebody accept me as friend,i appear in his friend list also he appears in my friends list. That works fine. Also when displaying the friend list is ok!!!(In which to all scripts i used serialize and …

0
63
Member Avatar for Vanq69

Hi guys, I cant seem to work out a way to keep my paragraphs when using a text area as part of a form. I send the form using ajax and then display the text again in a textarea to allow editing before finally displaying it on a standard page. …

Member Avatar for Ezzaral
0
93
Member Avatar for rajeesh_rsn

I had a web site ( Real Estate) and visitor can add data. But I only need to add in site only after my approval. So I make a column in database that "approved". When an user submit data then Enter the value "no" in "approved" column. When I approve …

Member Avatar for Designer_101
0
127
Member Avatar for kings

hi for posting a new thread we are using editor in daniweb.i want something simple like this.can anyone tell me how to achieve this. thanks in advance

Member Avatar for JRSofty
0
91
Member Avatar for veledrom

Hi, Code below generates this error [inlinecode]Warning: Missing argument 1, 2, 3for MyWebpage::pageElements(): Class_for_HTML.class on line 18 )[/inlinecode] but i cannot solve the problem. Thanks [code] <?php class MyWebpage { var $header = "<html>\n<head>\n"; var $title; var $keywords; var $content; var $footer = "</body></html>"; function generatePage() { echo $this->header; $this->pageElements(); …

Member Avatar for veledrom
0
51
Member Avatar for Newbie 123
Member Avatar for Designer_101
0
94
Member Avatar for jyotiu

Hi All I am new to PHP and just got a project ;) that needs me to extract links from the page, i have got the part of page that have links in a string and was wondering if i can extract all the links in that string. String is …

Member Avatar for martin5211
0
281
Member Avatar for HITMANOF44th

making php code to pull data for database now it pulls most data fine with the like statment now is there anyway to make it pull both things that are lower and uper case ? [code=syntax]$query = "SELECT * FROM `users` WHERE `$lookby` LIKE '%$lookfor%'";[/code]

Member Avatar for Designer_101
0
101
Member Avatar for emarshah

Hey All, I have a Register.php page, whose code is as follows. On Register Me button, i want to restore values back in text boxes, when some invalid input is in textboxes. How can i do this? [code] <?php session_start(void); ?> <html> <head> <title>Login System Using PHP</title> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for Designer_101
0
144
Member Avatar for szita1

hi all, im new to php and im stuck with a "constant" problem. i was studying a code snippet and trying to creat a constant with define() like this: define("ABC",1,TRUE). i dont understand why it results nothing if the second parameter is 0. The consant type is boolean and it …

Member Avatar for ShawnCplus
0
85
Member Avatar for ChaosTheory

Fatal error: Cannot use object of type DBConnect as array in C:\xampp\htdocs\class.DBConnect.php on line 28 [code] class DBConnect { // access is private for all class variables private $c_host_name; private $c_user_name; private $c_user_password; private $c_user_database; private $c_db_link; private $c_arr_errors; private $c_obj_prepared_query_statement; // class constructor public function __construct($p_arr_connection_string) { $this->c_host_name = …

Member Avatar for ChaosTheory
0
139
Member Avatar for imanoob

Hey guys, I need some help! I have a sensitive script on my site that's kept secret and password protected but I'd like it so that when someone accesses it it emails me.

Member Avatar for Designer_101
0
39
Member Avatar for ramanand

Guys, i have installed PHP 5 on my windows system, i am able to browse to info.php which shows a listing, but if i create another simple page with a echo statement then i and not able to browse that page. i get the HTTP 500 internal server error. i …

Member Avatar for ramanand
0
162
Member Avatar for Merlin33069

WARNING huge php script, watch your head /WARNING :D Ok, i want to start by saying that this is part of a free script im making and therefor may be used by anyone, the script if available at: [URL="http://pctipforum.com/index.php?topic=345.0"] http://pctipforum.com/index.php?topic=345.0[/URL] next i want to say that this is a login …

Member Avatar for Designer_101
0
292
Member Avatar for KJATL

Hello, I've got a series of buttons that take the user to the same page. Different information is passed to the PHP page effecting the behavior or the page. The functions work but the problem is that for each button not pressed, a Notice is displayed. Is there a switch …

Member Avatar for Designer_101
0
116
Member Avatar for Newbie 123

Hi I have the following [CODE]$_SESSION('userid') = true;[/CODE] How is it i would get the user to logout? I guess by deleting the session? Thanks

Member Avatar for Newbie 123
0
80
Member Avatar for KJATL

hi there im a novice to PHP and have been trying to put together a form with two buttons that post a variable value. The value is tested and then php perfroms whatever action that value points to (Update or Delete). My problem is that when I click the button, …

Member Avatar for KJATL
0
339
Member Avatar for danielagaba

Hi I designed an online quiz site and i wanted users after mtaking the quiz, to be able to click button and their results are printed from a printer. Having trouble coming up with the source code. Could someone point me in the right direction?

Member Avatar for HITMANOF44th
0
57

The End.