Solved

javascript and php

Posted on 2000-04-04
4
235 Views
Last Modified: 2006-11-17
i got function in javascript:
aux2 = insFld(aux1, gFld("Rules", "#"))

i want that the the word "Rules" will
"come" from database(im using php)
is that possible?

elad
0
Comment
Question by:eladr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 1

Expert Comment

by:mafweb
ID: 2683792
hi eladr,

this should be possible:

<?php
#get the var $rules from the db
?>

aux2 = insFld(aux1, gFld(<?echo $rules?>, "#"))
0
 

Expert Comment

by:limorm
ID: 2683889
i will try...
0
 
LVL 2

Accepted Solution

by:
maxkir earned 3 total points
ID: 2693230
Small correction to mafweb's comment.
The line should be like that:
aux2 = insFld(aux1, gFld("<?echo $rules?>", "#"))

note "" around the <?echo $rules?>
0
 
LVL 1

Author Comment

by:eladr
ID: 2697400
thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question