39,320 Topics

Member Avatar for
Member Avatar for meisjen

Hey guys, I was hoping to get a little insight on this issue. I recently signed up for Yahoo Boss v2, I'm not really experienced with PHP. I honestly would have used google's api but they are charging too much for the amount of searches I'll need for this project. …

Member Avatar for meisjen
0
353
Member Avatar for lps

Good day, I am currently starting to use wordpress for better CMS and I wish to learn more about the framework. Any advises on what website I should refer to? I have download several framework to dig into but in the end I am still confused. Any reply is appreciated. …

Member Avatar for lps
0
233
Member Avatar for dr.4030

hi i created this page for displaying my products that it works with select query from data base but after all try i could show the 3 of them in pages but all i want is displaying 6 of them in different tables after each other please help me with …

Member Avatar for turt2live
0
117
Member Avatar for mrhankey

hi, is it possible for me to embed part of my site into another? i want to give someone a piece of php code maybe a page of code which will embed my whole intranet site into theirs so it looks like they are still on the other persons site …

Member Avatar for diafol
0
176
Member Avatar for BenzZz

When i run my code i receive the following error: [CODE]Fatal error: Call to a member function fetch() on a non-object in C:\Program Files\EasyPHP-5.3.8.0\www\Practice\staff.php on line 20[/CODE] The code that causes the error is: [CODE]<?php require_once "db_connect.php"; $dbh = db_connect (); $dbh->exec ("CREATE TABLE Staff( UserId int NOT NULL AUTO_INCREMENT, …

Member Avatar for Stefano Mtangoo
0
319
Member Avatar for Joemeister

Hi everyone! Ok, let me quickly explain what I want to achieve. I have two tables. The first table is Requests and it looks like this [CODE] +------------------------------+ | Requests | +----+-------------+-----------+ | id | user_from | user_to | +----+-------------+-----------+ | | | | | | | | | | …

Member Avatar for stoopkid
0
125
Member Avatar for mrhankey

hi, i have designed an application for a company in php/mysql. they want an app version of it, just a cut down version of the app. simple question, what is the easiest way to convert php/mysql to an app for ipad or iphone etc? is there a compiler out there …

Member Avatar for mrhankey
0
104
Member Avatar for aaloo

2day i hve another problem ..this is my code [CODE]<?php $data = mysql_query("SELECT * FROM entries ORDER BY id DESC LIMIT $x , 3") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { echo" <div id=\"containing\">s <h1>".$info['contents']."</h1> <div id=\"parent\" > <p >".$info['author'] ."</p> </div> </div> <?php echo "<a href=\"$info['contents'].php\" >READ MORE</a>"; …

Member Avatar for aaloo
-1
329
Member Avatar for mcx76

I install php script.but error. Parse error: syntax error, unexpected $end in /home/xxx/public_html/xxxx/ADMIN/index.php on line 376 Please be advice.Thanks <?php include("login_config.php"); include_once("Utils.php"); if(isset($doExport)||(isset($category)&&$category=="exit")||isset($Export)){ ob_start(); } if(stristr($_SERVER['HTTP_USER_AGENT'],"MSIE")) { $IE=true; } else { $IE=false; } $AC=true; include("security.php"); $lArray=DataArray("admin_users","username='$AuthUserName'"); if(isset($lng)){ $LANGUAGE=$arrSupportedLanguages[$lng][1]; $LANGUAGE2=$arrSupportedLanguages[$lng][1]; SQLUpdate_SingleValue( "admin_users", "username", "'".$AuthUserName."'", "language", $LANGUAGE ); } else{ $LANGUAGE=strtolower($lArray["language"]); $LANGUAGE2=strtolower($lArray["language"]); …

Member Avatar for thegeekofnothin
0
426
Member Avatar for davy_yg

product_category.php [CODE] // SIMPAN if (isset($_REQUEST['simpan'])) { $kategori = mysql_real_escape_string($_REQUEST['kategori']); $id = isset($_POST['id']) ? $_POST['id'] : ''; $id = $_REQUEST['id']; if(empty($id)) $result = mysql_query("INSERT INTO kategori (nama_kategori) VALUE ('".$kategori."')") or die(mysql_error()); else $result = mysql_query("UPDATE kategori (nama_kategori) SET kategori = '".$kategori."') WHERE id=".$id) or die(mysql_error()); $confirmation = $result ? "Data …

Member Avatar for chrishea
0
50
Member Avatar for davy_yg

input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['isi_berita']) ? $_POST['isi_berita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = …

Member Avatar for davy_yg
0
92
Member Avatar for luweegee

[CODE] <?php if (isset($_SESSION['uid']) && $_SESSION['uid']) { echo "You are already logged in, if you wish to log out, please <a href=\"./logout.php\">click here</a>!\n"; } else { if (!$_POST['submit']) { ?> <table border=0 cellspacing=3 cellpadding=3> <form method='post' action='login.php'> <tr><td>Username</td><td><input type='text' name='username'></td></tr> <tr><td>Password</td><td><input type='password' name='password'></td></tr> <tr><td colspan=2 align='right'><input type='submit' name='submit' value='Login'></td></tr> </form></table> …

Member Avatar for ko ko
0
260
Member Avatar for liphoso

new to php and mysql. i would like to build a system that will allow me to save to two databases at the same time. i know how to send data from my interface(i use html for the interface then use php to link with the mysql to design the …

Member Avatar for broj1
0
103
Member Avatar for Joemeister

Hi! So I managed to upload the picture via php to a folder BUT my problem now is that I want to INSERT the location path of the uploaded picture to the user's pic_location in the database and I don't know how the query will look if I want to …

Member Avatar for lps
0
229
Member Avatar for kgizo

Hello, I'm trying to read a text file which is on the web and then insert its contents in a database using PHP. I think my code is okay but I keep getting this error message which I think might be permission problems so I just need clarity on this. …

Member Avatar for kgizo
0
135
Member Avatar for mohan_iyyar

HI Friends, I am using html and php for designing a report i want coding for displaying 2 table headers in subsequent pages.As I have 207 datas retrieved from mysql format: categoy brand name model xxx rtrt ghg iio yyy jhkjk opo loo i have to display the above data …

Member Avatar for mohan_iyyar
0
141
Member Avatar for NoviceCoder37

Exclamation Help with MP4BOX [, FAAC] Installation in UBUNTU 11.4 Hello. I am trying to install Clipbucket and all its required modules on Ubuntu 11.4. I have followed the tutorial at [url]http://www.andresmontalban.com/how-to-install-clipbucket-requirements-on-redhat-enterprise-5-server-with-cpanel/[/url] and have everything installed except for FAAC and MP4BOX. These are the errors I get: FAAC –> Error …

0
93
Member Avatar for lobstar

Hi, I am having an issue with updating my database with info from an excel spreadsheet. I am using php-excelreader from: [url]http://sourceforge.net/projects/phpexcelreader/[/url] Here is what I have thus far: [code=php] <?php require_once 'reader.php'; $Host = "..."; $User = "..."; $Password = "..."; $DBname = "..."; $Link = mysql_connect ($Host, $User, …

Member Avatar for rrpandiarajan
0
294
Member Avatar for danchapman91

In addition, i will need it to be scalable and highly customizable. For example, consumers will be able to group together in a yahoo groups/social networking fashion and then discuss and buy together as a group; merchants will have minimum volumes and time tools similar to those available on present …

Member Avatar for chrishea
0
154
Member Avatar for Rian19

Hi I'm just starting with php programming and need some help. This is just a test script I'm writing to see how it works. I'm trying to search for phone of a certain make and price using a different search box for Make and price. I want the results to …

Member Avatar for cwarn23
0
236
Member Avatar for davy_yg

kategori_berita.php [CODE] <?php include('koneksi.php'); $_REQUEST['catid'] = isset($_POST['catid']) ? $_POST['catid'] : ''; $result = mysql_query("SELECT * FROM kategori_berita") or die(mysql_error()); echo '<ul>'; while ($data=mysql_fetch_array($result)){ if ($_REQUEST['catid']==$data['id']) echo '<li>'.$data['kategori'].'</li>'; else echo '<li><a href="./?catid='.$data['id'].'">'.$data['kategori'].'</a><br/></li>'; } echo '</ul>'; ?> </div> [/CODE] I am trying to print bullet button list for each kategori: [CODE] if …

Member Avatar for cwarn23
0
117
Member Avatar for newbie14

Dear All, I have a number of data from mysql database to be populated into a graph format. The graph is speed vs time. The time will be in every minute. So far I have tried two tools one phPlot and PhpGraphLib. The first one will only plot say at …

Member Avatar for cwarn23
0
271
Member Avatar for Inny

Using an apache webserver, im currently redirecting hotlinks to a certain image. [code]<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?camosreptiles.com.au/ [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteRule \.(jpg|jpeg|png|gif)$ http://i14.photobucket.com/albums/a345/Instar/nedry2.gif [NC,R,L] </ifModule>[/code] What id like to do, is redirect to a certain page (my own domain) …

Member Avatar for Inny
0
115
Member Avatar for Joemeister

I'm using sessions to receive my info from my database table... But I'm not quite sure how to get a image because if I just say this: [CODE]echo "<img src='" . $_SESSION['pic_location'] . "' />";[/CODE] I only get like a little black dot thingy. I don't know if one could …

Member Avatar for diafol
0
100
Member Avatar for luweegee

[CODE] <?php session_start(); $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("blog", $con) or die(mysql_error()); ?> <html> <head> <title>///</title> </head> <body> <div id="admin-content"> <?php if($_SESSION['uid']){ $sel = "SELECT * FROM `users` WHERE `id`='".$_SESSION['uid']."' "; $result = mysql_query($sql) or die (mysql_error()); if(mysql_num_rows($res) == 0){ session_destroy(); echo "Please <a href='login.php'>Login</a> to your account, or <a …

Member Avatar for luweegee
0
713
Member Avatar for phfilly

Hi! I would just like to know if its possible to give an linked image the ability to send the form instead of a submit button? Like in the example below: [CODE] <form method="post" action="Search.php"> <table id="search"> <tr> <td> Search: <input type="text" name="search" id="search" placeholder="Search for friends"/><td><a href="Search.php" action="Search.php"><img src="graphics/search.png" …

Member Avatar for phfilly
0
130
Member Avatar for aaloo

plz somebody help with this code . i m fed up now [CODE]<?php $x=5; echo $x; session_start(); $_SESSION['y']=$x; $string = '<?php session_start(); $x=$_SESSION['y']; echo $x;?> '; $fp = fopen("6.php", "w"); fwrite($fp, $string); fclose($fp); ?>[/CODE]

Member Avatar for aaloo
0
261
Member Avatar for minitauros

What I would like to do is to create a repeating pattern inside a rewriterule. For example: RewriteRule ^([\w]+)/([\w]+)/[B](([\w]+)/([\w]+))*[/B]/?$ index.php?p=$1&s=$2[B](&$4=$5)*[/B] Breaking it down: On every page my ?p=BLA refers to a certain page, and every &s=BLA refers to a certain subpage. The rewriterule for this would obviously be: RewriteRule ^([\w]+)/([\w]+)/?$ …

Member Avatar for cwarn23
0
298
Member Avatar for silverarrow23

Hi, I Am Having Problems With this Piece Of Code: [code]<?php // Config $Conf = array(); $Conf['db'] = array(); $Conf['template'] = 'default'; $Conf['language'] = 'en'; $Conf['title'] = 'Care In Mind File Server'; $Conf['db']['server'] = 'mysql17.000webhost.com'; $Conf['db']['username'] = 'a6670856_fileser; $Conf['db']['password'] = 'ja23mes'; $Conf['db']['name'] = 'a6670856_fileser'; $Conf['docUrl'] = 'http://careinmindintranet.co.cc'; $Conf['job_server'] = 'http://careinmindintranet.co.cc/Secure/FileServer/jobs'; …

Member Avatar for silverarrow23
0
436
Member Avatar for jonesa01

Hello, I hope someone can help me solve this: I am writing a script which can extract phone numbers from a peice of entered text which i can do fine but when there are other numbers it becomes more complex and i cannot seem to find away round it. All …

Member Avatar for jonesa01
1
4K

The End.