39,316 Topics

Member Avatar for
Member Avatar for mpc123

Sorry very very new to php , at the end of my table is the following [code=php]echo $row['ProductUrl']; echo "</td></tr>"; } [/code] i want to have an image show on the page and on click of that image it then go to the product url. The [ProductUrl] from data base …

Member Avatar for metalix
0
100
Member Avatar for suhailansari

Hi I am new to the database concept and I have to make a college project such as hospital management, Transport management system etc. in DBMS. Our college is teaching us MYSQL. Please can anyone advice me as what to use in making these projects. What database type to use …

Member Avatar for griswolf
0
251
Member Avatar for Lolalola

Hi, for example i have this html code: [CODE]<p><strong>Text text.</strong></p> <p><span style="font-size: 14pt;"><span style="background-color: #ff0000;">Text text...</span></span></p> [/CODE] Possible write this text with this style on the image (with php GD)? Thanks

Member Avatar for sourcebits
0
115
Member Avatar for QWaz

Hi, I am pretty new to php and am not sure if what I am attempting to do for a client is possible. Hoping to know if anyone knows if it is and a solution? I want to: - upon registering a new user create a new folder using their …

Member Avatar for sourcebits
0
131
Member Avatar for tieren

Dear Gurus, I am trying to insert information into three tables then send an email. The purpose of the code is to place uniform orders within a company with multiple stores. Each store must be able to place orders according to job function as well as order accessories available for …

Member Avatar for tieren
0
136
Member Avatar for mpc123

Please help with this if you can My example code below is part of a table that echos several fields, for this field I need to echo the text of the field which the below example code now does, but i need to make it state N/A if the field …

Member Avatar for Usernamex235
0
1K
Member Avatar for mpc123

Please can somebody help with this. I want a Buy Now image to go to the producturl in the database, at the moment I am just echoing , so it only shows the text of the url in the cell. my code currently is [code=php]echo $row['ProductUrl']; echo "</td></tr>"; [/code] Hope …

Member Avatar for hielo
0
132
Member Avatar for D4n1sD

I get an error that eregi() function is deprecated and when I searched for solution which worked for the most to replace eregi() with preg_matc() I get this error Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in C:\wamp\www\New folder\modules\mod_rokajaxsearch\helper.php on line 112 help me what to do?

Member Avatar for bailaba
0
227
Member Avatar for reibi

Hello all, well sometimes user insert information like "name" in the database because of which it causes problem in the site. So anyone tell me how to resolve this problem. I have already used addslashes.

Member Avatar for metalix
0
205
Member Avatar for Awah Mohamed

hi , my server usually tells me that there is a syntax error so what is it? the error is in line 12 but i dont know what is it here is the code : [CODE] <? $mysql_host = "mysql9.000webhost.com"; $mysql_database = "a2354076_post"; $mysql_user = "username"; $mysql_password = "password"; $tbl_name …

Member Avatar for metalix
0
88
Member Avatar for comhacker99
Member Avatar for YousefAB

Hey all, I would really appreciate it if you can help me with this problem. The basic idea, read all the files in a folder, and print them as links to each file. Which does work. But now, after it gets out of the foreach loop, I need it to …

Member Avatar for YousefAB
0
1K
Member Avatar for mymanmaid

I purchased a template for the sole purpose as it had a page I need for my business and website to request information for customer quotes and I have everything figured out EXCEPT for the checkbox part of it. I have no idea what to do and have spent the …

Member Avatar for mymanmaid
0
66
Member Avatar for php2sheik

hai i want to convert interger number to float number, how in php? for ex i want to convert 500 to 500.00

Member Avatar for applemist
-1
3K
Member Avatar for Tenaciousmug

Wow, I have no clue what I'm doing.. I'm trying to make a random game and if you roll a 6, you will win 500 rp and I'm trying to insert the 500 rp into the user who is logged in ($_SESSION['username'). But I... just don't know where to begin. …

Member Avatar for andy1090
0
143
Member Avatar for Sabby76

Hi I'd like to run a flashMovie in a .php page to the norm html. Fla's run ok, except they don't handle 3D object key command .swfs. [url]http://www.flashsandy.org/demos[/url] Click on 2nd image of a type of jet_copter Gavia AT-1008 as the best example of what is possible. Use keyboard arrows …

0
540
Member Avatar for dks1383

Hi all I'm going to develop an online handicraft store by Joomla. I'm looking for a good and free extension or plugin … for my store. I need an extension that shows the pictures of my art stuff in good manner and when user clicks on one of them, the …

Member Avatar for chrishea
0
51
Member Avatar for mpc123

Sorry very very new to php , obviously my code below is wrong. What should the code be? [code=php]$result = mysql_query("SELECT * FROM TEST Where Name LIKE 'Smith%'") or die(mysql_error()); // Print out result while($row = mysql_fetch_array($result)){ echo "There are ". $row['COUNT(Surname)'] ."; }[/code] Thanks If anyone can help

Member Avatar for edwinhermann
0
97
Member Avatar for nadskap2

Hey there everybody! Me and a couple of others are currently making a CMS but we got a problem :( Here is the code: [code=php] function ImportSQL() { $conn = mysql_connect($_POST['host'] . ":" . $_POST['port'], $_POST['user'], $_POST['pass']); mysql_select_db($_POST['vision_db'], $conn); $db_content = @file_get_contents("../sql/Database.sql"); $query = mysql_query($db_content); if(!$query){ return mysql_error(); }else{ return …

Member Avatar for Excizted
0
202
Member Avatar for cristi08
Member Avatar for Zagga
0
2K
Member Avatar for Monster Killer

Hello. I am designing a php forum but one of the things i can't seem to work out or find is how you do the icons on the left side such as 'New' 'No new posts' etc. What i can't work out about it is how you tell php if …

Member Avatar for Monster Killer
0
104
Member Avatar for chrchcol

I have a page I am putting together that has a drop down box, and allows me to choose an item from the drop down, and then it queries the database matching from the drop down to a table field and then grabs all database entries that match. That part …

Member Avatar for chrchcol
0
153
Member Avatar for lwaterfo

Hello, I am wondering, is there any way to create a form inside of a php page? If so, how? thanks, -l.

Member Avatar for lwaterfo
0
152
Member Avatar for johndoe444

I created a php script: [ICODE]#!/usr/local/bin/php <html><head><title>PHP Test</title></head> <body> <?php print( "Hello World<br />"); ?> </body></html> [/ICODE] created an htacces file [ICODE]AddHandler cgi-script .php DirectoryIndex index.html index.php [/ICODE] changed the permission [ICODE]chmod 711 hello.php chmod 644 htaccess [/ICODE] This does not work: [url]http://xyz/~username/hello.php[/url] By making the hello.php to hello.txt the …

Member Avatar for itanum
0
300
Member Avatar for reibi

Can somebody plz tell me why this function of php now() doesn't work properly. Someday it doesn't work properly like I have date validation that compares two dates one of server and another of user given date. But today it doesn't compare so results were null. So can anybody tell …

Member Avatar for rch1231
0
82
Member Avatar for seularts

Here is the code that counts all the image files from a group of folders in the binary folder. The problem is that when it counts the file, if i have 1 file in the first folder(88x31) and another one in a second folder (120x60) it will count 3 instead …

Member Avatar for rch1231
0
178
Member Avatar for hansan

Hello, [LIST] [*]I want to protect my external javascript(and css also) from outside people, who steal my javascript. [/LIST] [LIST] [*]but this is impossible using client-side language. [/LIST] [LIST] [*]so can anyone tell me a method to [B]hide external javascript(and css) by using sever-side language???[/B] [/LIST] thank you

Member Avatar for pres-pnoy
0
218
Member Avatar for alertsfortrader

I am new to PHP so please explain to me like you would to a child ^_^. I am trying to write a simple php script and keep getting this error: Parse error: syntax error, unexpected T_STRING in /home/alertsfortraders/www.addictedtotrading.com/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 14 [code=php] <?php $wpusername = $_POST['wpusername']; …

Member Avatar for Zagga
0
1K
Member Avatar for UzuNarU

Hi everyone. I am trying to figure out if it's possible to write a PHP or JavaScript that changes the background image every time the browser refresh button (or F5) is pressed. I haven't seen it done this way, however I have seen it done for banners and other images. …

Member Avatar for UzuNarU
0
205
Member Avatar for manzoor.ilahi77

Hi, can you pl help me on the submission of a form when submit button clicked the form content have to send as a mail.

Member Avatar for ApocDen
0
127

The End.