Jump to content

limecity

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

limecity's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks for the quick reply. this is what I did earlier <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="600" width="500" > <param name="movie" value="http://www.britepic.com/britepic.swf"> <param name="FlashVars" value="id=305546src= {$photo.imgsrc_photo} width=500height=600" > <param name="allowscriptaccess" value="always"> <param name="wmode" value="transparent"> <embed src="http://www.britepic.com/britepic.swf" flashvars=";id=305546src= {$photo.imgsrc_photo} width=500height=600" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" height="500" width="600"> </embed></object> I was trying to embed the bridepic ad code into my existing cms gallery which the template shows this <a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>');return(false);"> <img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> /></a> do i replace the urlencode with my site's url?
  2. my question is about flash object code and php. how do i embed a php varible into a flash <object> coding? this is my varible : <{$photo.imgsrc_photo}> this is the flash object code : <param name="FlashVars" value="id=undefinedsrc= < == http://imageURL.jpg == > width=600height=600" >
  3. how do i add two array into one? like first name and last name i did something like this and it didn't work : ['fname']+['lname'] help please
  4. oh. thanks for the reply. okay, i might try diff approach. my form is a plain html with two drop down bar [day] [month] for the user selection as you see here $_POST['indate'] = date("Y",time())."-".$_POST['ciMM']."-".$_POST['ciDD']; $_POST['outdate'] = date("Y",time())."-".$_POST['coMM']."-".$_POST['coDD']; ciMM is the variable for Month ciDD is the varibale for Date ------------------ as you suggested, how do i insert those data into the database as plain format and pull it out with formating inside the table created on the page?
  5. I made a php form which enable the user to select a date and submit, it will enter the database with this code: $_POST['indate'] = date("Y",time())."-".$_POST['ciMM']."-".$_POST['ciDD']; $_POST['outdate'] = date("Y",time())."-".$_POST['coMM']."-".$_POST['coDD']; I also manage to output the date with this coding <?php while ($row = mysql_fetch_array($result)) { echo'<tr><td>' '</td><td>'.$row['indate'].'</td><td>'.$row['outdate'].'</td><td> </td></tr>'; } ?> but the output became this "2007-09-06" format. PROBLEM How do i output it to be like 2007-September-06 ?
  6. it worked ! it worked ! thank you very much :-D i learn something new today. Yea~
  7. yea i am trying to grab the value i had on the previous page and show it on the next page. trying to do this for two radio buttons in one block of a table. hmm how do i insert the coding exactly I did try but i could be missing some tags or something: <input type="radio" <?php $Pickup_session = $_POST['Pickup_session'] ?>>AM <input type="radio" <?php $Pickup_session = $_POST['Pickup_session'] ?>>PM *i am a noob*
  8. I am doing a booking form. 1st page of the php is a simplified page 2nd page will be a more detail form where the user is require to fill in particulars I manage to get the input of the form into the 2nd page which uses dropdown menu. but I got problem with the radio button. for further explaination, this is what I did with the dropdown selection, and it worked. page 1 <select name="putime" id="putime"> <option value="12:00" selected="selected">12:00</option> <option value="12:30">12:30</option> <select> page 2 <select name="putime" id="putime"> <option value="12:00" <?php if($_POST['putime']=="12:00") echo " selected" ?>> 12:00</option> <option value="12:30" <?php if($_POST['putime']=="12:30") echo " selected" ?>>12:30</option> </select> ----------------------------- but how do i do the same for a two radio button? page 1 <input type="radio" id="puSession" value="am" name="Pickup_session" /> AM <input type="radio" id="puSession" value="pm" name="Pickup_session" /> PM page 2 ?????
  9. hie i am new here. got a problem with php. I am trying to create a Contact Form where the mail content is sent to both the visitor and the webmaster. The mail will include a tracking ID. the problem i am having now is, how to generate those tracking ID code for the emails and stored in the database? and how to send the email to both visitor and recipient? thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.