39,392 Topics

Member Avatar for
Member Avatar for recklesst

hello when i run this code, i get this error : Parse error: syntax error, unexpected T_PRINT in /home/a9017639/public_html/mzrt.php on line 19 [CODE=php]<html> <head> <link type="text/css" rel="stylesheet" href="xxxx.css"> <Title>xxxxxxxx</Title> </head> <body> <P> <h1 style="text-align:center;font-size:60px">xxxxxxt</h1> <BR CLEAR=ALL> <HR> <div class="tres"> <?PHP $zacc=0; if(isset($_POST['submit'])) { $animal=$_POST['animals']; } ?> <h3> Selected Animal:<? PHP …

Member Avatar for michelleradu
0
2K
Member Avatar for Stefano Mtangoo

Hi I want to make form dynamically by just passing array of stuffs. I have tried but cannot may be due to my limitation in PHP. Here is what I have so far. Please help me! [CODE=php] class MyForm{ private $formArray; //pass array to build a form in form of …

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for UnderPressure

Hey all, I'm rather new to PHP but learning fast over the last several weeks, (so please pardon my ignorance) I've created SQL db, a number of php pages & scripts which interact with it, and have created an html mainpage. The main page is going to act as a …

Member Avatar for UnderPressure
0
118
Member Avatar for NoGood

Hi All, I am trying to the following for an appointments system. So far i am able to add to my Sql table 'bookings' values i select from a drop down stored as $day, $month, $year and $time. I want to be able to do a check nefore a write …

Member Avatar for sophia nayagi
0
2K
Member Avatar for michelleradu

Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not …

Member Avatar for michelleradu
0
370
Member Avatar for adamramadhan

i have a page [QUOTE]edit.php[/QUOTE] and i wanted to be like this edit.php?at=profile edit.php?at=upgrade edit.php?at=im edit.php?at=delete and if there is no at='something' to include default theme(html) [CODE]<?php include "../app.php"; include $basepath . "inc/PasswordHash.php"; include $basepath . "inc/functions.php"; include $basepath . "inc/adodb5/adodb.inc.php"; // Session Start $adodbsessionstart = new UADODB; $adodbsessionstart->adodbSessionStart(); $db …

Member Avatar for adamramadhan
0
197
Member Avatar for dlannetts

Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' …

Member Avatar for dlannetts
0
116
Member Avatar for StefanCP

I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get …

Member Avatar for StefanCP
0
142
Member Avatar for sunaruna84

Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& …

Member Avatar for harshbavaliya
0
544
Member Avatar for infoStud

guys, good morning...what are the requirements that must be installed for you to call java class using PHP?? thanks for the reply ^_^

Member Avatar for harshbavaliya
0
50
Member Avatar for MDanz

[code] $tags = get_meta_tags($url); $keywords = $tags['keywords'];[/code] this get me the keywords for a website. Just say there are 5 keywords in that one variable. e.g. apple, banana, orange, pear and coconut. how do i insert these 5 keywords in that one variable($keywords) into seperate rows. So insert first keyword …

Member Avatar for rajabhaskar525
0
61
Member Avatar for drewpark88

Hey Guys, I have an If statement in one of my php files. I want to send an email to my client anytime it IsApproved. So how do I make it send an email to the client when it is approved? Here is some of the code, the first if($response->IsApproved …

Member Avatar for phpbeginners
0
244
Member Avatar for Campbel

So I have a bit of a problem... A la I am posting on this forum. If you will bare with me for a short narrative I can explain the situation. Currently a department in my school is involved in a Weather data collection project which they have asked me …

Member Avatar for phpbeginners
0
318
Member Avatar for morecrab

Hi all, How to retrieve client's ip address, mac address, and others hardware address ? Also, how to detect user end device (whether computer, notebook, pda, ...) ? Is that all possible ? Thanks, :)

Member Avatar for morecrab
0
2K
Member Avatar for aryanmughal

Hello Everyone i need your help in making this code kindly help <img src="http://i45.expamle.com/35i4o5t.gif"> i want this image to load in a page by calling it like http://www.example.com/tp.php?code=35i4o5t.gif but the problem making area is that the server information changes on every image can someone make it for me ...... <img …

Member Avatar for cwarn23
0
80
Member Avatar for divyakprabh

how to write a php code such that a link specified must directly display the contents of the link in the browser..?? thanku,

Member Avatar for diafol
0
93
Member Avatar for drewpark88

No one has an answer to a problem I thought would be easy. I guess it is too complex. That sucks. If you think you can solve it I posted it here on dani web and the link to the thread is below: [url]http://www.daniweb.com/forums/thread258226.html[/url] or [url]http://www.daniweb.com/forums/thread258197.html[/url]

Member Avatar for Ezzaral
0
88
Member Avatar for JRM

I have this contact form that emails inquiries from a web site. From time to time a email like this comes through. [QUOTE] From: gbvxits Email: [email]vauuol@wehwmw.com[/email] Inquiry: 9a8Lje gojaxfuklmfu, [url=http://cpjnzhrwlhwq.com/]cpjnzhrwlhwq[/url], [link=http://vshgvcdvxjea.com/]vshgvcdvxjea[/link], [url]http://sfiipmxeqijr.com/[/url][/QUOTE] What is the point of this? Why would they put the gibberish and URL stuff in there?

Member Avatar for diafol
0
298
Member Avatar for tryphy

Hi people, I would like to send automatic email reminder to people, by calendar preset dates...The peoples email address are taken from 2 diffrent tables.. How do get the email add from the different tables and send automatic email reminders on system date... I think its somethink lik retreive all …

Member Avatar for Jerail
0
2K
Member Avatar for umandajayo

I have a form with 2 textboxs. with js handling [CODE]<script type = "text/javascript"> function autofill(which) { document.getElementById("text2").value = which; } </script> <input type="text" name="text1" onblur="autofill(this.value)" /> <input type="text" name="text2" />[/CODE] So According the above js, when user type some thing on text1 text box automatically update it to the …

Member Avatar for Jerail
-2
151
Member Avatar for diafol

Something odd going on with str_replace. When I replace a set of double characters with another set (double characters), I get a text length increase of 1. [CODE]$gw = array("ll","ch"); $gw2 = array("lž","cž"); $cw = array("&acirc;","&grave;"); $cw2 = array("â","à"); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); …

Member Avatar for diafol
0
112
Member Avatar for drewpark88

Hey guys, I have a problem, my process_transaction.php page was working fine before I added some code to it....but I need that code to work. I added an if statement that should send an email to my client's once my process_transaction.php has determined whether or not the payment has been …

Member Avatar for drewpark88
0
308
Member Avatar for vanessia_1999

I am having two problems dealing with images. I am trying to make an uploader for the user to post picture of a meal or food item. I have the uploader to show and the browser open but it does not go to my databasebase name "recipe" to the table …

Member Avatar for bharanidharanit
0
90
Member Avatar for veledrom

Hi guys, I am having difficulties to purchase a HONEST and DECENT Linux hosting for my PHP + MySQL website. I am asking you to suggest me one or two based on your experiences because most of hosting companies offer very exciting stuff but most of them are hustlers (I …

Member Avatar for mschroeder
0
896
Member Avatar for Multivariate

I'm trying to add the "Amazon Style Drop-in Content Box" from the Dynamic Drive site into a Joomla template. I don't know Joomla very well and I've followed the tutorials. Basically, this drop in box contains a SWF file that references an FLV video. The background is transparent and I …

0
42
Member Avatar for MDGM

hi all, I have a php script that saves what the user types in into a text file using fwrite, and displays it on another page using file_get_contents. When putting in a pound sign (£), it saves the following to the text file: £ Any idea how I can stop …

Member Avatar for almostbob
0
240
Member Avatar for paddy100

Hi Guys, probably a easy thing to do but I ve scoured the length and breadth of t'internet to no avail. I am a newbie to php who is looking to finish a site off in php. What i will have is a mysql table with id image title url …

Member Avatar for Graphix
0
103
Member Avatar for vishalonne

Is there a way to do Audio and video conferencing using php? Is there ant open source tool through which I can do Audio and video conferencing using php from my Web site?

0
61
Member Avatar for lifeworks

Hi Need some advice - Ive been going more and more OO in my coding, just coming into some best-practice issues... Lets say I have a User object, and the user has some contact details... whats preferential, to call the getUserDetails() and include the layout HTML in that method, or …

Member Avatar for blocblue
0
94
Member Avatar for whiteyoh

Hi All, I have a number of different tables storing various bits on information. Ib wanting to create a control panel for it, which will initially give a record count for each table. How can i run queries from multiple tables in one connection? Ive tried connecting then running a …

Member Avatar for adamramadhan
0
479

The End.